Home » C++ » Objective Questions for Beginners
Showing 1 - 25 of 91
Question: 1
(A) 2
(B) 3
(C) 4
(D) 1
Compiler
Level: Beginner Category: loops
Question: 2
(A) Hi
(B) Bye
(C) HiBye
(D) Compilation Error
Compiler
Level: Beginner Category: conditional
Question: 3
(A) Scope Resolution Operator
(B) Conditional Operator
(C) Ternary Operator
(D) if else o/p
Compiler
Level: Beginner Category: operators
Question: 4
(A) 2 Bytes
(B) 4 Bytes
(C) 1 Byte
(D) Depends on Compiler
Compiler
Level: Beginner Category: operators
Question: 6
(A) +
(B) -
(C) ++
(D) *
Compiler
Level: Beginner Category: operators
Question: 7
Question: 8
(A) for(initialization;condition; increment/decrement)
(B) for(increment/decrement; initialization; condition)
(C) for(initialization, condition, increment/decrement
(D) None of These
Compiler
Level: Beginner Category: loops
Question: 9
(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: function
Question: 10
Question: 11
(A) ()
(B) =
(C) *
(D) ++
Compiler
Level: Beginner Category: operators
Question: 12
(A) 4.5
(B) 4.0
(C) 4
(D) Compilation Error
Compiler
Level: Beginner Category: operators
Question: 13
(A) Dcon DDest
(B) Dcon DDest BCon BDest
(C) BCon DCon DDest BDest
(D) BCon DCon BDes DDest
Compiler
Level: Beginner Category: classesAndobjects
Question: 14
Question: 15
(A) Object oriented programming
(B) Oriented object programming
(C) Office oriented programming
(D) office objective programming
Compiler
Level: Beginner Category: other
Question: 16
Question: 17
(A) No
(B) Yes
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: loops
Question: 18
(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: structure
Question: 19
(A) 1
(B) 2
(C) 4
(D) 0
Compiler
Level: Beginner Category: datatype
Question: 20
(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: function
Question: 21
(A) Compilation Error
(B) Runtime Error
(C) CppBuzz
(D) CppBuzz;;;;
Compiler
Level: Beginner Category: other
Question: 22
Question: 23
(A) BASIC
(B) VB
(C) PASCAL
(D) C
Compiler
Level: Beginner Category: other
Question: 24
(A) Constructor
(B) 0
(C) Compilation Error
(D) Runtime Error
Compiler
Level: Beginner Category: classesAndobjects
Question: 25
(A) Compilation Error - Constructor Missing
(B) Nothing would be printed
(C) Undefined
(D) In constructor
Compiler
Level: Beginner Category: classesAndobjects
C++ Online Test
Compile C++ code here