Which is correct syntax for declaring pointer to object?
(a) className* objectName;
(b) className objectName;
(c) *className objectName;
(d) className objectName();
I had been asked this question in an internship interview.
I'm obligated to ask this question of Pointer to Objects in section Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming