Quiz

C++ Basics Quiz

  1. 01.

    Which operator is used for scope resolution?

  2. 02.

    What is the purpose of the 'new' operator?

  3. 03.

    Which symbol is used for a single-line comment in C++?

  4. 04.

    Which of the following is the extraction operator?

  5. 05.

    Which keyword is used to define a constant variable?

  6. 06.

    What is a destructor?

  7. 07.

    Which operator is used to access members through a pointer?

  8. 08.

    Which header file is needed for using strings in C++?

  9. 09.

    Which keyword is used for virtual functions?

  10. 10.

    Which stream is used for error messages?