Tag: C++ Inheritance

  • What is Friend Function in C++

    Master friend function in C++ with syntax, examples, encapsulation, operator overloading, friend class, inheritance & top interview questions. Beginner to advanced. So you have been writing C++ for a while, you understand classes, private members, and the whole idea of keeping your data safe inside objects. And then someone mentions friend function and suddenly it feels like…