vault backup: 2024-10-25 13:51:54

This commit is contained in:
zleyyij 2024-10-25 13:51:54 -06:00
parent c597a67b41
commit 22548282c3

View File

@ -1,4 +1,12 @@
1. Suppose that the following declarations are in effect:.... 1. Suppose that the following declarations are in effect:....
a. `14` a. `14`
b. `34` b. `34`
c. `4`
d. `true`
e. `false`
2. Suppose that `high`, `low`, and `middle` are all pointer variables of the same type, and the `low` and `high` point to elements of an array. Why is the following statement illegal, and how could it be fixed?
```c
middle = (low + high) / 2
```
The above statement is illegal because