C++ MCQ Question Bank

C++ MCQ Question Bank

University

40 Qs

quiz-placeholder

Similar activities

Вопросы по C++

Вопросы по C++

University

35 Qs

Final Exam(WS101)

Final Exam(WS101)

University

45 Qs

CompTIA N+ Mock Test 2 Quiz

CompTIA N+ Mock Test 2 Quiz

University

41 Qs

Quiz de Java: Fundamentos Básicos

Quiz de Java: Fundamentos Básicos

University

40 Qs

Тест2 ТОМИ

Тест2 ТОМИ

University

35 Qs

HTML Y SQL

HTML Y SQL

University

40 Qs

Pertemuan II - Variabel dan Tipe Data

Pertemuan II - Variabel dan Tipe Data

University

37 Qs

Kuis Latihan UTS HTML by @Handawnz

Kuis Latihan UTS HTML by @Handawnz

University

40 Qs

C++ MCQ Question Bank

C++ MCQ Question Bank

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Riya Samanta

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Information Technology (IT)