A

Admin • 833K Points
Coach

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

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

Explanation by: Admin

'const' is used to declare a variable whose value cannot be changed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.