
EXERCISES
(A) Answer the following questions
(1) What do you mean by operator overload-
ing?
(2) What is the use of keyword operator?
(3) What are the rules for overloading opera-
tors?
(4) What is the difference between operator
overloading and function overloading?
(5) What is the difference between overloading
of binary operators and unary operators?
(6) How are friend functions used to carry
out overloading of operators? In which
situation are they helpful?
(7) Explain conversion of data from basic to
class type. Explain the role of compiler.
(8) Explain conversion from class to basic type.
(9) Explain conversion from one