T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. What is the correct syntax to declare a pointer to a constant?

  • (A) const type *pointer_name;
  • (B) type const *pointer_name;
  • (C) Both A. and B.
  • (D) None of the above

Explanation by: Team MCQ Buddy
The correct syntax to declare a pointer to a constant is:

const type *pointer_name;

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics