Q:

Which is correct syntax for declaring pointer to object?

0

Which is correct syntax for declaring pointer to object?


  1. className* objectName;
  2. className objectName;
  3. *className objectName;
  4. className objectName();

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).className* objectName;

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now