I'm trying to figure out the difference between these two lines of code..
We are given 'Count' is our Class name, C1 and C2 are objects of that class. No information of how and when the classes have been declared are given.
Count C2(C1); //Statement 1
Count C2=C1; //Statement 2
No other information is given. What is the difference between these two lines of call for copy constructor? Please elaborate if you have the answer.
Thanks!