A

Admin • 802.91K Points
Coach

Q. What is the purpose of the 'const' keyword in C?

  • (A) Make variable constant
  • (B) Declare global variable
  • (C) Declare static variable
  • (D) Make pointer null
  • Correct Answer - Option(A)
  • Views: 3
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin
const makes a variable read-only after initialization.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.