Is name of an array of objects is also a pointer to object?

Is name of an array of objects is also a pointer to object?
A. Yes, always
B. Yes, in few cases
C. No, because it represents more than one object
D. No, never
 
Answer: a
Explanation: The array name represents a pointer to the object. The name alone can represent the starting address of the array. But that also represents an array which is in turn stored in a pointer.
 

Tìm kiếm

Back
Top