0
Can anyone explain this?
class MyClass{ public: MyClass (){ regVar=0; } private: int regVar; friend void someFunc (MyClass &obj); }; What (MyClass &obj) working here??
1 Antwort
class MyClass{ public: MyClass (){ regVar=0; } private: int regVar; friend void someFunc (MyClass &obj); }; What (MyClass &obj) working here??