CSC166 ยท 2078 ยท 5 marks
What is the concept of friend function? How it violates the data hiding principle? Justify with example.
What is the concept of friend function? How it violates the data hiding principle? Justify with example. [5]
Object Oriented ProgrammingChapter 6: Virtual Function, Polymorphism, and miscellaneous C++ FeaturesFriend function and Static function