A

Admin • 833.24K Points
Coach

Q. Which keyword is used to declare a constant variable in C++?

  • (A) define
  • (B) const
  • (C) static
  • (D) constant
  • Correct Answer - Option(B)
  • Views: 35
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

The 'const' keyword is used to declare a constant variable in C++.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.