P

Priyanka Tomar • 35.28K Points
Coach

Q. Which of the following C++ keywords is used to declare a constant?

  • (A) constant
  • (B) const
  • (C) final
  • (D) immutable
  • Correct Answer - Option(B)
  • Views: 124
  • Filed under category C++

Explanation by: Priyanka Tomar
'const' is used in C++ to declare constants.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics