Class X{X(){}X(X &obj){} // supose '=' operator is also overloaded for this class. I am not writing code for that }main(){X a;X b = a;X c(&a);X d;d = a;}What is the difference between a, b, c, d objects ?
Questions by smart_coder answers by smart_coder
Showing Answers 1 - 3 of 3 Answers
Class X{X(){}X(X &obj){} // supose '=' operator is also overloaded for this class. I am not writing code for that }main(){X a;X b = a;X c(&a);X d;d = a;}What is the difference between a, b, c, d objects ?
Profile Answers by smart_coder Questions by smart_coder
Questions by smart_coder answers by smart_coder