A

Admin • 833K Points
Coach

Q. Which of the following is not a valid C++ identifier?

  • (A) _variable
  • (B) 123variable
  • (C) variable_123
  • (D) VariableName
  • Correct Answer - Option(B)
  • Views: 17
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

In C++, an identifier cannot start with a digit.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.