A

Admin • 833.24K Points
Coach

Q. What is the keyword used to prevent a variable from being modified?

  • (A) static
  • (B) const
  • (C) volatile
  • (D) immutable
  • Correct Answer - Option(B)
  • Views: 37
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

const ensures the variable value cannot be changed after initialization.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.