
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
PSAS Pemrograman Web

Quiz
•
11th Grade - University
40 questions
Java MCQ Quiz

Quiz
•
University
40 questions
Kiểm tra học kì II

Quiz
•
12th Grade - University
40 questions
Quiztronic

Quiz
•
University
39 questions
8-кл-19

Quiz
•
8th Grade - University
38 questions
7-20

Quiz
•
7th Grade - University
35 questions
Ôn tập bài tập code C# chương 6,7,8,9

Quiz
•
University
39 questions
MODULE 6 Decision Control and Switch Case

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade