An object is a variable of a class.

Each statement below is either TRUE or FALSE. Choose the most appropriate one and
ENTER in the “tear-off” sheet attached to the question paper, following instructions
therein.

2.1 An object is a variable of a class.
2.2 Using return by reference, a function call can appear on left-hand side of the assignment statement. e.g. min(a,b) =2.
2.3 endl is a keyword which has the same effect as using newline character.
2.4 Constructor can not be overloaded.
2.5 The compiler reports an error if overloaded + operator perform – operation.
2.6 Template functions can be overloaded, like other functions.
2.7 A class inherited from more than one class is known as multiple inheritances.
2.8 Two pointers can be multiplied in C++.
2.9 ios is a base class for istream and ostream classes.
2.10 A virtual function can be a friend of another class.

Leave a Reply