A

Admin • 833K Points
Coach

Q. Which keyword is used to prevent modification of a variable in C?

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

Explanation by: Admin

const prevents a variable from being modified after initialization.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.