The pre-increment and post-increment ++ operator can be overloaded.

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 The pre-increment and post-increment ++ operator can be overloaded.
2.2 It is illegal to make objects of one class as members of another class.
2.3 Only when an argument has been initialized to zero value, it is called the default
argument.
2.4 When calling a function, if the arguments are passed by reference, the function works
with the actual variables in the calling program.
2.5 The precedence of an operator can be changed by overloading it.
2.6 A pointer to a base class can point to an object of a derived class of that base class.
2.7 A derived class is often called a subclass because it represents a subset of its base
class.
2.8 Can we make a class as a friend?
2.9 The expression for (;;) is the same as a while loop with a test expression of true.
2.10 A const member function prevents modification of any of its class’s member data.

Leave a Reply