Within the statement obj1=obj2; obj1 will call the assignment operator function and obj2 will be passed as an argument to
If obj1 is a user defined type then it is true.
obj1 = obj2;
is equivalent to
obj1.operator =( obj2 );
Last edited on
Topic archived. No new replies allowed.