+ 1

How to access private member functions in main function ??

30th Jan 2019, 1:11 PM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
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 👍
30th Jan 2019, 1:24 PM
Ipang
+ 3
Thanks Ipang
30th Jan 2019, 2:03 PM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
+ 3
You're most welcome, glad to help Md Ibrahim (West Bengal, India) 😁
30th Jan 2019, 2:07 PM
Ipang
+ 2
Ipang ,,Paul help me..
30th Jan 2019, 1:12 PM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar