Tag Archives: Friend Function in C++

Friend Function in C++

Data Hiding is one of the main properties of Object-Oriented Programming and in C++ with the help of access modifiers such as Private, Public and Protected we can alter the privacy of attributes and methods of a Class. In a class, if we have used private modifiers for the class attributes so only that specific class methods would… Read More »