Hello,
I need assistance on this question.
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)?
a) p == a[0]
b) p == &a[o]
c) *p == a[0]
d) p[0] == a [0]
I assume that b and d are true from the given information. I just need a little clarification on the definitions of the given equations - the book fails to give any pre-existing examples to help tackle the problem.
Thanks.