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

  • (A) int
  • (B) float
  • (C) real
  • (D) double
πŸ’¬ Discuss
βœ… Correct Answer: (C) real
Explanation: 'real' is not a valid data type in C++. The correct data type for floating-point numbers is 'float' or 'double'.
Explanation by: Shiva Ram
'real' is not a valid data type in C++. The correct data type for floating-point numbers is 'float' or 'double'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
144
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
81%
Success Rate