2082 6

Object Oriented Programming20825 marksFriend functions

Explain friend function and friend class with example.

Explain friend function and friend class with example. [5]

A friend function is a function that is not a member of a class but has access to the private and protected members of that class. It is declared inside the class using the keyword friend. Key Points: - It is defined outside the class scope - It is not called using an object (no this pointer) - I...

Up nextDifferentiate between early binding and late binding. Write a program to show dynamic poly