31. What is the size of the 'bool' data type in C++?
32. Which of the following is not a valid data type in C++?
33. What will be the result of the expression: 10 / 3 in C++?
34. What is the correct way to declare a constant variable named 'PI' with a value of 3.14159 in C++?
35. Which keyword is used to define a constant in C++?
36. What is the data type of the expression: 3.14f in C++?
37. What is the maximum value that can be stored in an 'unsigned short int' data type in C++?
38. What is the output of the following code: cout << (7 >= 7); in C++?
39. What is the data type of the expression: sizeof('A') in C++?
40. What is the result of the expression: 5.0 + 3 in C++?
Read More Section(Variables and Data Types in C plus plus)
Each Section contains maximum 100 MCQs question on Variables and Data Types in C plus plus. To get more questions visit other sections.