A

Admin • 833K Points
Coach

Q. Which of the following is not a valid data type in C++?

  • (A) int
  • (B) float
  • (C) real
  • (D) double
  • Correct Answer - Option(C)
  • Views: 25
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

'real' is not a valid data type in C++. The correct data type for floating-point numbers is 'float' or 'double'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.