← Back to VOLUME 13, ISSUE 9, SEPTEMBER 2024
This work is licensed under a Creative Commons Attribution 4.0 International License.
friend Function in C++
Mrs. Suwarna Vijay Nimkarde, Mrs. Shobhana Avinash Gaikwad
DOI: 10.17148/IJARCCE.2024.13918
Abstract: Friend function is a normal C++ function that can access private members of the class to whom it is declared as friend. Private members of a class cannot be accessed from outside the class. However there could be a situation where more than one classes want to share a particular function.
Keywords: friend, private, protected, public.
π 23 views
How to Cite:
[1] Mrs. Suwarna Vijay Nimkarde, Mrs. Shobhana Avinash Gaikwad, βfriend Function in C++,β International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2024.13918
