2079 12

CSC166 ยท 2079 ยท 5 marks

Write short note on: a) Friend Function b) Early binding and late binding

Write short note on: a) Friend Function b) Early binding and late binding [5]

Object Oriented ProgrammingChapter 6: Virtual Function, Polymorphism, and miscellaneous C++ FeaturesFriend function and Static function

--- A friend function in C++ is a function that is not a member of a class but has the privilege to access the private and protected members of that class. It is declared inside the class using the keyword friend. - It is declared inside the class but defined outside the class scope. - It is not ...