Home » C++ » MCQs
Showing Page 1 (1 - 20)
Question: 1
Question: 2
(A) Hi
(B) Bye
(C) HiBye
(D) Compilation Error
Question: 3
(A) Scope Resolution Operator
(B) Conditional Operator
(C) Ternary Operator
(D) if else o/p
Question: 4
(A) 2 Bytes
(B) 4 Bytes
(C) 1 Byte
(D) Depends on Compiler
Question: 6
Question: 7
Question: 8
(A) Yes
(B) No
(C) Undefined
(D) Depends on Compiler
Question: 9
(A) for(initialization;condition; increment/decrement)
(B) for(increment/decrement; initialization; condition)
(C) for(initialization, condition, increment/decrement
(D) None of These
Question: 10
Question: 11
(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error
Question: 12
(A) Error
(B) 5 times
(C) 4 times
(D) 6 times
Question: 13
Question: 14
(A) read()
(B) write()
(C) both A and B
(D) without read()
Question: 15
(A) *
(B) /
(C) %
(D) all have same precedence
Question: 16
Question: 17
(A) 4.5
(B) 4.0
(C) 4
(D) Compilation Error
Question: 18
(A) Dcon DDest
(B) Dcon DDest BCon BDest
(C) BCon DCon DDest BDest
(D) BCon DCon BDes DDest
Question: 19
Question: 20
(A) Object oriented programming
(B) Oriented object programming
(C) Office oriented programming
(D) office objective programming
C++ Online Test
Compile C++ code here