Science, asked by sonikumarimohit, 8 months ago

what is private and public in the c++ ​

Answers

Answered by rggadade
3

In C++ private means that it can only used by the class internally and cannot be accessed outside of the said class, while public means that it can be accessed outside the class.

Similar questions