Quiz on C++ Numbers



1. What are the basic data types for numbers in C++?
2. Which of the following is a floating-point type in C++?
3. What does the 'int' data type represent?
4. What is the range of a 'short' data type in C++?
5. Which data type in C++ can store the largest value?

Advertisements