Question
What is the syntax of friend function?
Answer: Option A
Was this answer helpful ?
In option a, the class2 is the friend of class1 and it can access all the private and protected
members of class1.
Was this answer helpful ?
Submit Solution