A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

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.

Be the first to start discuss.