If a function is friend of a class, which one of the following is wrong?
1.A function can only be declared a friend by a class itself.
2.Friend functions are not members of a class, they are associated with it.
3.Friend functions are members of a class.
4.It can have access to all members of the class, even private ones.
Posted Date:-2022-07-04 03:55:45