Bright Brains
PRODUCT OVERVIEW PRODUCT PHILOSOPHY TESTS ON OFFER SAMPLE QUESTIONS FAQ'S CONTACT US LOGIN/REGISTER

OOPS

Level:-Basic
Q(1) _____ is the fundamental building block of object oriented programming language.
A   Module
B   Code
C   Object
D   Function
Q(2) Inline is a variable.
A   True
B   False
Level:-Intermediate
Q(1) The variable myNum has the value 5. How to print a variable to the screen?
A   cout<< "My number is", myNum<
B   cout<< "My number is 5" <
C   cout<< My number is <
D   cout<< "My number is" <
Q(2) _____ have the return type void.
A   All functions
B   constructors
C   destructors
D   None of the above
Level:-Expert
Q(1) precision() is used to clears the flags.
A   True
B   False
Q(2) A _____ is a special method used to initialize the instance variable of a class.
A   Member function
B   Destructor
C   Constructor
D   Structure