InterviewSolution
Saved Bookmarks
| 1. |
When are friend functions used? Write syntax for declaration of friend function. |
|
Answer» A friend function is useful when a function to be shared between the two classes by syntax for declaration of friend function: |
|