What are friend functions and friend classes?

a) What are friend functions and friend classes? Write a normal function which adds
objects of the complex number class. Declare this normal function as friend of the
complex class.

Leave a Reply