0
Is it possible to call private data member from operator overloading function even when it is not declared as friend function??
3 ответов
+ 2
just to give you hint, it should be accessible as your operator overloading will be member function and member function obviously can access private member
+ 1
try your self creating code in playground and see the results... happy learning Shikhar gupta
+ 1
thanks😊