¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
classes friend
why we need friend class if we can pass values to the members of private through public?
1 Respuesta
- 3
if we want to share private members in another class we use friend keyword .