Which header file is used for manipulator?
a) <iomanip.h>
b) <stdmanip.h>
c) <stdiomanip.h>
d) <iomanipulator.h>
How many approaches are used for operator overloading?
a) 1
b) 2
c) 3
d) 4
Explanation: overloading unary operator, binary operator, binary operator using friend function
Which of the following operator functions cannot be global, i.e., must be a member function?
a) new
b) delete
c) conversation operator
d) all of these
when we use an operator on user-defined class objects, operator overloading…….
a) never be used must
b) always be used must
c) three exceptions must never be used
d) three exceptions must always be used
Which of the following is not casting operator in CPP?
a) static cast
b) dynamic cast
c) explicit cast
d) reinterpreit_cast
Operator overloading is also called……. Polymorphism.
a) run time
b) initial time
c) compile time
d) completion time