vault backup: 2024-10-28 09:31:30
This commit is contained in:
parent
dc9a5d0289
commit
7d58412a45
@ -21,4 +21,5 @@ middle = low + (high - low) / 2;
|
|||||||
|
|
||||||
5. Suppose that `a` is a one dimensional array and `p` is a pointer variable. assuming that the assignment `p = a` has just been performed, which of the following expressions are illegal because of mismatched types? Of the remaining expressions, which are true (have a nonzero value)?
|
5. Suppose that `a` is a one dimensional array and `p` is a pointer variable. assuming that the assignment `p = a` has just been performed, which of the following expressions are illegal because of mismatched types? Of the remaining expressions, which are true (have a nonzero value)?
|
||||||
The following expressions are illegal because of mismatched types:
|
The following expressions are illegal because of mismatched types:
|
||||||
- ``
|
- (a) `p == a[0]` - Comparison between `int *` and `int`
|
||||||
|
The rest of the expressions are true.
|
||||||
|
Loading…
Reference in New Issue
Block a user