Primary tabs

What Is Friend Function in C++ | DataTrained

0 Followers, 2 Marks

In C++, friend functions of the class are allowed access to the class's private and protected members. They are specified globally, outside of the...

Category: 
2 views 0 Likes 0 comments

Non-member actions of a class will not have accessibility to another class's secret data. There may be times when we need two classes to share...

Category: 
2 views 0 Likes 0 comments
Scroll to top
randomness