0

Can anyone explain this?

class MyClass{ public: MyClass (){ regVar=0; } private: int regVar; friend void someFunc (MyClass &obj); }; What (MyClass &obj) working here??

24th Oct 2019, 2:18 PM
Malem Yengkhom
Malem Yengkhom - avatar
1 Respuesta