Copy Constructor is also a constructor whose main aim is to initialize the variable indirectly.
but here in copy constructor we are passing an object of the same class as a argument.
so, we can copy the value of that object into other one.
a = 10;
a = obj.a;
in both it will print 10 on output screen;