Which keyword is used to declare a class in C++?
The class keyword is used to declare user-defined class types in C++.
What is the correct syntax for outputting text in C++?
cout << from <iostream> header is used to print output to standard stdout.
Which operator is used for dynamic memory allocation in C++?
The new operator allocates memory on the free store/heap in C++.
Which feature of OOP allows function overloading and operator overloading in C++?
Polymorphism enables functions or operators to behave differently based on call signature.
What is the extension of a C++ source code file?
Standard C++ source code files end with the .cpp extension.