+ 1

Please give explanation for every sentence ....it will be great help for beginner

class MyClass { public: int var; MyClass() {} MyClass(int a) : var(a) { } MyClass operator+(MyClass &obj) { } };

26th Dec 2020, 4:18 AM
Sagar Patil
Sagar Patil - avatar
1 Answer