BreakInterview

1. How we can define member function outside the class ?

Using union
Using structure
Using pointers
Using scope resolution

2. What is true about Constructor ?

Its name is plural of class name
Its name has * symbol before it.
Its name is same as of class name
Its name has # symbol before it

3. We can do constructor overloading in C++ ?

TRUE
FALSE

4. The major goal of inheritance in C++ is ?

To facilitate the reusability of code
To help modular programming
To facilitate the conversion of data types
To extend the capabilities of a class

5. Size of a char is ?

1
2
4
8

6. & operator is ?

indirection operator
address operator
logical and
logical or

7. The default visibility mode while inheriting is ?

public
protected
private
may be any of above

8. Stacks are based on ?

FIFO
LIFO

9. Queues are based on ?

FIFO
LIFO

10. The function used to define the task assigned to an operator is ?

Virtual function
Static function
Operator function
Friend function