Quiz

C++ Basics Quiz

  1. 01.

    Which library contains std::string?

  2. 02.

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

  3. 03.

    What is the purpose of the 'new' operator?

  4. 04.

    Which operator is used to deallocate memory?

  5. 05.

    What is the scope resolution operator?

  6. 06.

    What does STL stand for in C++?

  7. 07.

    Which operator is used to access members through a pointer?

  8. 08.

    Which keyword allows a function to access private members of a class?

  9. 09.

    Which keyword is used for virtual functions?

  10. 10.

    Which of the following is used to end a statement in C++?