New course! Every coder should learn Generative AI!
Try a free lesson0
In a class what is the difference between private member and public member
3 Answers
+ 1
Sample code.
https://code.sololearn.com/cmaBe6S0YRHC/#cpp
+ 1
can you give example
0
Public member reachable outside of the class, the private is not.