Home C C++ Java Python Perl PHP SQL JavaScript Linux Online Test Forum

Home » C++ » 100 MCQ on C++

100 MCQ on C++ Programming

Page 2 (51 - 100)


Question: 51

(A) 1 Million +
(B) 2 Million +
(C) 3 Million +
(D) 4 Million +

Compiler Forum
Practitioner other[Posted by: Admin | Chicago, USA]



Question: 52

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

Compiler Forum
Expert keyword[Posted by: Admin | Chicago, USA]



Question: 53

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

Compiler Forum
Expert cpp17[Posted by: Admin | Chicago, USA]



Question: 54

(A) Hey..
(B) CppBuzz.com
(C) Compilation Error
(D) None of these

Compiler Forum
Practitioner conditional[Posted by: Admin | Chicago, USA]



Question: 55

(A) ASM
(B) asm
(C) Not possible
(D) Compiler specific

Compiler Forum
Practitioner other[Posted by: Admin | Chicago, USA]



Question: 56

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

Compiler Forum
Expert typecasting[Posted by: Admin | Chicago, USA]



Question: 57

(A) <
(B) <<
(C) ->
(D) >>

Compiler Forum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 58

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

Compiler Forum
Expert other[Posted by: Admin | Chicago, USA]



Question: 59

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

Compiler Forum
Expert other[Posted by: Admin | Chicago, USA]



Question: 60

(A) Yes
(B) No
(C) Depends on compiler
(D) None of these

Compiler Forum
Practitioner other[Posted by: Admin | Chicago, USA]



Question: 61

(A) IS-A relation
(B) HAS-A relation
(C) None of these

Compiler Forum
Practitioner classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 62

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

Compiler Forum
Expert new_delete[Posted by: Admin | Chicago, USA]



Question: 63

(A) .exe
(B) .out
(C) .lib
(D) .a

Compiler Forum
Practitioner other[Posted by: Admin | Chicago, USA]



Question: 64

(A) std::bad_exception
(B) std::logic_error
(C) std::exception
(D) std::runtime_error

Compiler Forum
Practitioner exceptions[Posted by: Admin | Chicago, USA]



Question: 65

(A) std::bad_typeid
(B) std::logic_error
(C) std::runtime_error
(D) std::bad_cast

Compiler Forum
Practitioner dynamic_cast[Posted by: Admin | Chicago, USA]



Question: 66

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

Compiler Forum
Expert other[Posted by: Admin | Chicago, USA]



Question: 67

(A) 1@2@
(B) 1@2@1@
(C) 1@1@2@
(D) 1@2@2@

Compiler Forum
Practitioner loops[Posted by: Admin | Chicago, USA]



Question: 68

(A) 0
(B) 1
(C) 4
(D) 5

Compiler Forum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 69

(A) c1=-7,c2=-4
(B) c1=-7,c2=-3
(C) c1=-4,c1=b-3
(D) c1=-6,c2=-6

Compiler Forum
Practitioner operators[Posted by: Admin | Chicago, USA]



Question: 70

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

Compiler Forum
Expert conditional[Posted by: Admin | Chicago, USA]



Question: 71

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

Compiler Forum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 72

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

Compiler Forum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 73

(A) FiveSix
(B) Five
(C) Six
(D) None of these

Compiler Forum
Practitioner conditional[Posted by: Admin | Chicago, USA]



Question: 74

(A) 01
(B) 012
(C) 0
(D) 0123

Compiler Forum
Practitioner loops[Posted by: Admin | Chicago, USA]



Question: 75

(A) Hello
(B) Bye
(C) Undefined
(D) Compilation Error

Compiler Forum
Practitioner conditional[Posted by: Admin | Chicago, USA]



Question: 76

(A) Yes
(B) No

Compiler Forum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 77

(A) *
(B) ++
(C) +
(D) -

Compiler Forum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 78

(A) Structure which contains pointers
(B) Structure which has pointer to itself
(C) Structure which contains another structure
(D) None of these

Compiler Forum
Practitioner structure[Posted by: Admin | Chicago, USA]



Question: 79

(A) A
(B) B
(C) Both has are same
(D) Depends on Compiler

Compiler Forum
Practitioner other[Posted by: Admin | Chicago, USA]



Question: 80

(A) We can create n number of object
(B) We can create max 256 objects
(C) We can create 1 object
(D) We cant create object

Compiler Forum
Practitioner classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 81

(A) Vector
(B) Deque
(C) Stack
(D) List

Compiler Forum
Practitioner stl[Posted by: Admin | Chicago, USA]



Question: 82

(A) AVL Tree
(B) Binary Tree
(C) Balance Binary Tree
(D) None of these

Compiler Forum
Practitioner stl[Posted by: Admin | Chicago, USA]



Question: 83

(A) Yes
(B) No

Compiler Forum
Practitioner stl[Posted by: Admin | Chicago, USA]



Question: 84

(A) Yes
(B) No

Compiler Forum
Practitioner virtual_func[Posted by: Admin | Chicago, USA]



Question: 85

(A) Yes
(B) No

Compiler Forum
Practitioner virtual_func[Posted by: Admin | Chicago, USA]



Question: 86

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

Compiler Forum
Expert vtable[Posted by: Admin | Chicago, USA]



Question: 87

(A) Yes
(B) No

Compiler Forum
Practitioner virtual_func[Posted by: Admin | Chicago, USA]



Question: 88

(A) Yes
(B) No

Compiler Forum
Expert function[Posted by: Admin | Chicago, USA]



Question: 89

(A) Yes
(B) No
(C) Depends on compiler

Compiler Forum
Practitioner virtual_func[Posted by: Admin | Chicago, USA]



Question: 90

(A) Yes
(B) No

Compiler Forum
Practitioner virtual_func[Posted by: Admin | Chicago, USA]



Question: 91

(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

Compiler Forum
Practitioner pointers[Posted by: Admin | Chicago, USA]



Question: 92

(A) 1
(B) 2
(C) 3
(D) 4

Compiler Forum
Beginner inheritance[Posted by: Admin | Chicago, USA]



Question: 93

(A) Yes
(B) No

Compiler Forum
Practitioner classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 94

(A) It contains VPTR
(B) It contains address of Virtual function
(C) It cotains address of Object
(D) None of these

Compiler Forum
Practitioner vtable[Posted by: Admin | Chicago, USA]



Question: 95

(A) Yes
(B) No

Compiler Forum
Expert classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 96

(A) Yes
(B) No

Compiler Forum
Beginner datatype[Posted by: Admin | Chicago, USA]



Question: 97

(A) Yes
(B) No

Compiler Forum
Practitioner classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 98

(A) Yes
(B) No

Compiler Forum
Practitioner abstract_class[Posted by: Admin | Chicago, USA]



Question: 99

(A) Yes
(B) No

Compiler Forum
Beginner pointers[Posted by: Admin | Chicago, USA]



Question: 100

(A) Yes
(B) No

Compiler Forum
Practitioner loops[Posted by: Admin | Chicago, USA]