C++ MCQ Question Bank

C++ MCQ Question Bank

University

•

40 Qs

quiz-placeholder

Similar activities

Assessment Semester I Informatics (Literasi Digital)

Assessment Semester I Informatics (Literasi Digital)

10th Grade - University

•

40 Qs

UH BAB 1 INFORMATIKA

UH BAB 1 INFORMATIKA

7th Grade - University

•

44 Qs

Revision Quiz

Revision Quiz

University

•

40 Qs

Evaluating Business Performance Quiz

Evaluating Business Performance Quiz

University

•

35 Qs

Chapter 3 Mastering Significant Figures and Estimation

Chapter 3 Mastering Significant Figures and Estimation

7th Grade - University

•

35 Qs

TIK-9

TIK-9

8th Grade - University

•

40 Qs

OWASP Noida Quiz

OWASP Noida Quiz

University

•

35 Qs

IoT Informatika kelas 9

IoT Informatika kelas 9

9th Grade - University

•

40 Qs

C++ MCQ Question Bank

C++ MCQ Question Bank

Assessment

Quiz

•

Information Technology (IT)

•

University

•

Practice Problem

•

Hard

Created by

Riya Samanta

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Who developed C++?

Dennis Ritchie

James Gosling

Bjarne Stroustrup

Ken Thompson

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a feature of C++?

Object-oriented

Function overloading

Garbage collection

Exception handling

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does "C++" represent in the name of the language?

Class++

C version 2

Increment operator (++), symbolizing evolution

C with pointers

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which header file is used for standard input/output operations in C++?

<stdio.h>

<fstream>

<iomanip>

 <iostream> ✅


5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator is used with cout for output?

>>

<<

&&

->

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of: cout << "Hello" << endl << "World";?

HelloWorld

Hello World

Hello World

Compilation error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The keyword endl in C++ is used to:

End the program

Exit a loop

Insert newline and flush buffer

Close the file

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?