Answer: Self assignment of object in C++ is OK only if object declaration and initialization has been already done before. Otherwise, we may get compiler
Tag: class object
Interview question: Can you implement an object counter program in C++ for a class that count the number of objects created for that class. Answer: