1. What is the extension of a C++ source file?
2. Which of the following is not a fundamental data type in C++?
3. What does the 'cin' object in C++ represent?
4. What keyword is used to define a class in C++?
5. In C++, what operator is used to allocate dynamic memory?
6. What is the syntax for a single-line comment in C++?
7. What function is used to output data to the console in C++?
8. Which header file is needed to use the 'cin' and 'cout' objects in C++?
9. What does the 'endl' manipulator do in C++?
10. What is the output of the following code: cout << (5 > 2) ? "True" : "False";
Read More Section(Introduction to C plus plus)
Each Section contains maximum 100 MCQs question on Introduction to C plus plus. To get more questions visit other sections.