Multiple Choice Questions on C++20

Home » C++ » MCQs on C++20

Major features introduced in C++20 are Spaceship operator, Modules, Concepts, Ranges, Coroutines, Calendar, Time zone, Constexpr, Span, Atomic_ref, Format, Tuple, Using etc.


Question: 1

(A) C++11
(B) C++14
(C) C++17
(D) C++20



Level: Expert
Category of MCQ: cpp20 in C++

Question: 2

(A) C++11
(B) C++14
(C) C++17
(D) C++20



Level: Expert
Category of MCQ: cpp20 in C++

Question: 3

(A) C++11
(B) C++14
(C) C++17
(D) C++20



Level: Expert
Category of MCQ: cpp20 in C++

Question: 4

(A) p1 is less than p2
(B) p1 is greater than p2
(C) p1 is equal to p2
(D) Compilation Error



Level: Experts
Category of MCQ: cpp20 in C++

Question: 5

(A) p1 is less than p2
(B) p1 is greater than p2
(C) p1 is equal to p2
(D) Compilation Error



Level: Expert
Category of MCQ: cpp20 in C++

Question: 6

(A) 8
(B) 7
(C) 5
(D) 2



Level: Expert
Category of MCQ: cpp20 in C++

Question: 7

(A) Compilation Error
(B) 5, 5
(C) 5, 0
(D) 0, 5



Level: Expert
Category of MCQ: cpp20 in C++

Question: 8

(A) Compilation Error
(B) 0
(C) 9
(D) Linker Error



Level: Practionar
Category of MCQ: cpp20 in C++

Question: 9

(A) True
(B) False
(C) 1
(D) Compilation Error



Level: Beginner
Category of MCQ: cpp20 in C++

C++ Online Test
Compile C++ code here

Browse C++ Categories

Loops Conditional Functions Operators Structure Enum Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Virtual Functions Abstract Class STL Singleton Class Exceptions C++11 C++17 C++20 Time & Space Complexity others

Switch to C Questions