Which is correct syntax for declaring pointer to object?
A. className* objectName;
B. className objectName;
C. *className objectName;
D. className objectName();
Answer:C
Which is correct syntax for declaring pointer to object?
A. className* objectName; B. className objectName; C. *className objectName; D. className objectName();