
C++ MCQ Question Bank

Quiz
•
Information Technology (IT)
•
University
•
Hard

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
Similar Resources on Wayground
40 questions
2nd Quiz

Quiz
•
University
44 questions
Kiến thức về Internet và mạng

Quiz
•
University
45 questions
Quiz on Travel and Sports

Quiz
•
University
45 questions
Operating System

Quiz
•
University
39 questions
8-кл-19

Quiz
•
8th Grade - University
40 questions
PSAS Pemrograman Web

Quiz
•
11th Grade - University
38 questions
Challenging Python Concepts

Quiz
•
University
40 questions
Data Structures & Algorithms — Prelim Exam

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University