21. What will be the output of the following code: cout << (5 != 2); in C++?
22. What is the size of a 'long double' data type in C++?
23. Which of the following is not a valid variable name in C++?
24. What is the correct way to represent octal values in C++?
25. What does the 'volatile' keyword do in C++?
26. What is the result of the following expression in C++: 7 % 3?
27. What is the correct way to declare a pointer to an integer in C++?
28. What is the data type of the expression: 5.2f in C++?
29. What is the output of the following code: `cout << (true || false);` in C++?
30. What is the range of values for a 'signed char' data type 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.