0
classes friend
why we need friend class if we can pass values to the members of private through public?
1 Antwort
- 3
if we want to share private members in another class we use friend keyword .
why we need friend class if we can pass values to the members of private through public?