(i) What are the merits and demerits of friend function ? (ii) How do…

Previous year question for Object Oriented Programming Using C++.

Question

(i) What are the merits and demerits of friend function ?

(ii) How do structures in 'C' and 'C++' differ ? How does a 'C++' structure differ from a class ?

Related pages

More PYQs on Friend Functions

Open on CachedInfo