We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
A friend function is defined outside the scope of the class but has access to the class private and protected data which is needed here for operator overloading.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Box It!
You are viewing a single comment's thread. Return to all comments →
A friend function is defined outside the scope of the class but has access to the class private and protected data which is needed here for operator overloading.