πŸ“Š C Programming
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) const type *pointer_name;

Explanation: The correct syntax to declare a pointer to a constant is:

const type *pointer_name;

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

const type *pointer_name;

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
260
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
98%
Success Rate