Multiple Choice
If s is a structure variable and p, a pointer, is a member of the structure, the statement cout << *s.p; will
A) output the dereferenced value pointed to by p.
B) result in a compiler error.
C) output the address stored in p.
D) output the value stored in s.
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: To dereference a structure pointer and simultaneously
Q4: A reason for passing a pointer to
Q5: The expression s->m has the same meaning
Q8: A pointer can be passed as an
Q9: With pointer variables you can access, but
Q10: A function may return a pointer, but
Q11: Suppose that a function dynamically allocates a
Q34: Which of the following statements is not
Q43: The ampersand (&) is used to dereference
Q43: A pointer with the value 0 (zero)