Home » C++ » Objective Questions
Showing Page 2 (21 - 40)
Question: 21
Question: 22
(A) No
(B) Yes
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: loops
Question: 23
(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: structure
Question: 24
(A) 1
(B) 2
(C) 4
(D) 0
Compiler
Level: Beginner Category: datatype
Question: 25
(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: function
Question: 26
(A) Compilation Error
(B) Runtime Error
(C) CppBuzz
(D) CppBuzz;;;;
Compiler
Level: Beginner Category: other
Question: 27
Question: 28
(A) One
(B) Compilation Error
(C) Default
(D) OneTwoThreeDefault
Compiler
Level: Practitioner Category: conditional
Question: 29
(A) 2 Bytes
(B) 4 Bytes
(C) Undefined
(D) 0
Compiler
Level: Expert Category: loops
Question: 31
(A) Constructor
(B) 0
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: classesAndobjects
Question: 32
(A) Compilation Error - Constructor Missing
(B) Nothing would be printed
(C) Undefined
(D) In constructor
Compiler
Level: Beginner Category: classesAndobjects
Question: 33
(A) XY~X~Y
(B) XY~Y~X
(C) X~XY~Y
(D) X~X~YY
Compiler
Level: Expert Category: inheritance
Question: 34
(A) Compilation Error
(B) 0
(C) 3
(D) -3
Compiler
Level: Beginner Category: other
Question: 35
(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: 36
(A) 1
(B) 5
(C) There is no limit
(D) 256
Compiler
Level: Beginner Category: datatype
Question: 37
(A) A class with abstract keyword
(B) A class with no functions in it
(C) A class with atleast one pure virtual function
(D) Empty Class
Compiler
Level: Practitioner Category: polymorphism
Question: 38
(A) 0
(B) 1
(C) 2
(D) 4
Compiler
Level: Practitioner Category: datatype
Question: 39
(A) Yes
(B) No
Compiler
Level: Practitioner Category: datatype
C++ Online Test
Compile C++ code here