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: cpp20

Question: 2

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

Level: Expert Category: cpp20

Question: 3

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

Level: Expert Category: cpp20

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: cpp20

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: cpp20

Question: 6

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

Level: Expert Category: cpp20

Question: 7

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

Level: Expert Category: cpp20

Question: 8

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

Level: Practionar Category: cpp20

Question: 9

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

Level: Beginner Category: cpp20

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

MCQs

About Us | Contact Us | Privacy Policy | Career  | Online Training
Youtube   LinkedIn   Facebook   Twitter   Instagram  
Copyright©CppBuzz.com
Like many websites, we use cookies to ensure best browsing experience on our website. While using this website, you acknowledge to have read and accepted our cookie and privacy policy.