Home » C++ » MCQs for Practitioners
Showing 1 - 25 of 124
Question: 1
(A) Yes
(B) No
(C) Undefined
(D) Depends on Compiler
Question: 2
Question: 3
(A) Error
(B) 5 times
(C) 4 times
(D) 6 times
Question: 4
(A) read()
(B) write()
(C) both A and B
(D) without read()
Question: 5
(A) *
(B) /
(C) %
(D) all have same precedence
Question: 6
(A) One
(B) Compilation Error
(C) Default
(D) OneTwoThreeDefault
Question: 7
(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
Question: 8
Question: 9
Question: 11
(A) We cant have
(B) In different work space
(C) Can have but in different file
(D) We can have in any scenario
Question: 12
Question: 13
(A) It is not possible
(B) It is possible only with C code
(C) By using extern "C" keyword
(D) By Converting C++ code to C
Question: 14
Question: 16
Question: 17
Question: 18
(A) It contains VPTR
(B) It contains address of Virtual function
(C) It cotains address of Object
(D) None of these
Question: 19
Question: 20
(A) A pointer pointing to NULL
(B) Pointer pointing to memory location which has been freed
(C) Pointer which is pointing to new location
(D) None of these
Question: 21
Question: 22
(A) Yes
(B) No
(C) Depends on compiler
Question: 23
Question: 24
C++ Online Test
Compile C++ code here