Quiz

C++ Basics Quiz

  1. 01.

    Which keyword is used to define a class?

  2. 02.

    Which library contains std::string?

  3. 03.

    Which concept supports multiple functions with same name?

  4. 04.

    What is the correct syntax to print 'Hello' in C++?

  5. 05.

    Which keyword is used to create a class in C++?

  6. 06.

    Which access specifier makes members accessible only within the class?

  7. 07.

    What is a destructor?

  8. 08.

    Which keyword is used to return a value from a function?

  9. 09.

    What does STL stand for in C++?

  10. 10.

    Which of these is not a valid data type in C++?