+ 1
How to access private member functions in main function ??
4 Answers
+ 4
Hi Md Ibrahim (West Bengal, India)
To access private members of a class we can use friend function, an example is available in the lesson, here it is:
https://www.sololearn.com/learn/CPlusPlus/1899/
Happy coding đ
+ 3
Thanks Ipang
+ 3
You're most welcome, glad to help Md Ibrahim (West Bengal, India) đ