Hi Neelam,
Just to clear your doubt, pointer can be used in used for copy constructor but prefer to use reference variable since it is considered as constant pointer.
We define copy constructor using A(const A & obj)
A(const A & obj
Why reference (&) is needed? Why we are not allowed to use.
A(const A obj)