Quote:
I would like to know why copy constructor always takes reference as a parameter. Why can't it take pointer.
Because it makes sense (it makes more sense than passing a pointer): you obtain the same effect with a neater syntax.
Note you
may create a constructor accepting a pointer to the object.