C++ Multiple Choice Questions for Experts

Home » C++ » Questions for Experts

Showing 1 - 25 of 50


Question: 1

(A) 2 Bytes
(B) 4 Bytes
(C) Undefined
(D) 0

Compiler
Level: Expert Category: loops

Question: 2

(A) XY~X~Y
(B) XY~Y~X
(C) X~XY~Y
(D) X~X~YY

Compiler
Level: Expert Category: inheritance

Question: 3

(A) Every Class has VTable
(B) Class inherited from other Class
(C) When a Class Overrides the function of Base class
(D) Class has atleast one Virtual Function

Compiler
Level: Expert Category: vtable

Question: 4

(A) No
(B) Yes

Compiler
Level: Expert Category: datatype

Question: 5

(A) Compilation Time
(B) Run Time
(C) Linking Time
(D) No

Compiler
Level: Expert Category: loops

Question: 6

(A) GC++
(B) KDevelop
(C) GIT
(D) Valgrind

Compiler
Level: Expert Category: new_delete

Question: 7

(A) Yes
(B) No

Compiler
Level: Expert Category: classesAndobjects

Question: 8

(A) Yes
(B) No

Compiler
Level: Expert Category: function

Question: 9

(A) 5
(B) 1
(C) 0
(D) Depends on Compiler

Compiler
Level: Expert Category: vtable

Question: 10

(A) 1234567899
(B) 12345678910
(C) 123455
(D) 12344

Compiler
Level: Expert Category: loops

Question: 11

(A) 1
(B) 2
(C) 0
(D) Infinite Times

Compiler
Level: Expert Category: loops

Question: 12

(A) *pp@*uzz
(B) CPP@BUZZ
(C) cpp@buzz
(D) Dp@*Czz

Compiler
Level: Expert Category: conditional

Question: 13

(A) std::exception
(B) std::bad_alloc
(C) std::runtime_error
(D) std::out_of_range

Compiler
Level: Expert Category: other

Question: 14

(A) Heap
(B) Stack
(C) Address Space
(D) Depends on Compiler

Compiler
Level: Expert Category: new_delete

Question: 15

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

Compiler
Level: Expert Category: other

Question: 16

(A) C++ 03
(B) C++ 98
(C) C++ 0X
(D) C++ 03

Compiler
Level: Expert Category: other

Question: 17

(A) static_cast
(B) const_cast
(C) reinterpret_cast
(D) dynamic_cast

Compiler
Level: Expert Category: typecasting

Question: 18

(A) C++ 0x
(B) C++ 98
(C) C++ 1z
(D) C++ 11

Compiler
Level: Expert Category: cpp17

Question: 19

(A) C++0x
(B) C++11
(C) C++1z
(D) C++20

Compiler
Level: Expert Category: keyword

Question: 20

(A) char *intStr = itoa(a); string str = string(intStr);
(B) std::string s = std::to_string(42);
(C) char stringNum[20]; int num=100; sprintf(stringNum,"%d",num);
(D) None of the above

Compiler
Level: Expert Category: function

Question: 21

(A) Arguments are placed in registers
(B) Arguments are placed in stack
(C) Arguments are placed in Heap
(D) None of the above

Compiler
Level: Expert Category: function

Question: 22

(A) cdecl
(B) syscall
(C) pascal
(D) register

Compiler
Level: Expert Category: function

Question: 23

(A) ELF
(B) DLLs
(C) PE
(D) None of the above

Compiler
Level: Expert Category: other

Question: 24

(A) [capture](parameters)->return-type {body}
(B) [parameters](capture)->return-type {body}
(C) [capture][parameters]->return-type {body}
(D) (capture)(parameters)->return-type {body}

Compiler
Level: Expert Category: cpp11

Question: 25

(A) Yes
(B) No

Compiler
Level: Expert Category: cpp11

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.