C++ OOPs Interview Questions & Ans : (27)
Question: 1
(A) Object oriented programming
(B) Oriented object programming
(C) Office oriented programming
(D) office objective programming
Compiler
Beginner other[Posted by: | ]
Question: 2
(A) Compilation Error
(B) Runtime Error
(C) CppBuzz
(D) CppBuzz;;;;
Compiler
Beginner other[Posted by: | ]
Question: 3
(A) BASIC
(B) VB
(C) PASCAL
(D) C
Compiler
Beginner other[Posted by: | ]
Question: 4
(A) Compilation Error
(B) 0
(C) 3
(D) -3
Compiler
Beginner other[Posted by: | ]
Question: 6
(A) A
(B) B
(C) Both has are same
(D) Depends on Compiler
Compiler
Practitioner other[Posted by: | ]
Question: 7
(A) std::exception
(B) std::bad_alloc
(C) std::runtime_error
(D) std::out_of_range
Compiler
Expert other[Posted by: | ]
Question: 8
(A) .exe
(B) .out
(C) .lib
(D) .a
Compiler
Practitioner other[Posted by: | ]
Question: 9
(A) Yes
(B) No
(C) Depends on compiler
(D) None of these
Compiler
Practitioner other[Posted by: | ]
Question: 11
(A) C++ 03
(B) C++ 98
(C) C++ 0X
(D) C++ 03
Compiler
Expert other[Posted by: | ]
Question: 12
(A) ASM
(B) asm
(C) Not possible
(D) Compiler specific
Compiler
Practitioner other[Posted by: | ]
Question: 13
(A) 1 Million +
(B) 2 Million +
(C) 3 Million +
(D) 4 Million +
Compiler
Practitioner other[Posted by: | ]
Question: 14
(A) VB.NET
(B) VB 6
(C) C++
(D) C#
Compiler
Beginner other[Posted by: | ]
Question: 15
(A) Uses buttons, menus, and icons
(B) Should be easy for a user to manipulate
(C) Stands for Graphic Use Interaction
(D) Both A and B
Compiler
Beginner other[Posted by: | ]
Question: 16
(A) ELF
(B) DLLs
(C) PE
(D) None of the above
Compiler
Expert other[Posted by: | ]
Question: 17
(A) True
(B) False
Compiler
Practitioner other[Posted by: | ]
Question: 18
(A) t.foo template<U>(u);
(B) t.foo<typename U>(u);
(C) t.template foo<U>(u);
(D) typename t.foo<U>(u);
Compiler
Expert other[Posted by: | ]
Question: 19
(A) It saves memory
(B) It releases memory once it go out of scope
(C) It inrease execution time of program
(D) None of these
Compiler
Practitioner other[Posted by: | ]
Question: 20
(A) Pass by Value
(B) Pass by reference
(C) Pass by pointer/address
(D) Depends on Compiler
Compiler
Beginner other[Posted by: | ]
Question: 21
(A) ios::trunc
(B) ios::ate
(C) ios::app
(D) ios::tellg
Compiler
Practitioner other[Posted by: | ]
Question: 22
(A) Filename
(B) First argument
(C) Last argument
(D) NULL pointer
Compiler
Expert other[Posted by: | ]
Question: 23
(A) We can create link using structure only
(B) We can create link list using class only
(C) We can create link list either by class or structure
(D) We should ignore implementation of link list using structure as it consume more memory
Compiler
Beginner other[Posted by: | ]
Question: 24
(A) QT
(B) SDL
(C) WxWidget
(D) Bootstrap
Compiler
Practitioner other[Posted by: | ]
Question: 25
(A) Normal Data Section
(B) Un initialized data section
(C) Initialized data section
(D) None of the above
Compiler
Expert other[Posted by: | ]
Question: 26
(A) TRUE
(B) FALSE
Compiler
Beginner other[Posted by: | ]
Question: 27
(A) #include
(B) #guard
(C) #ifndef
(D) endif
Compiler
Practitioner other[Posted by: | ]
C++ Online Test
Compile C++ code here
Browse C++ Categories
Loops Conditional Functions Operators Structure Enum Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Virtual Functions Abstract Class STL Singleton Class Exceptions C++11 C++17 C++20 Time & Space Complexity othersSwitch to C Questions