Assignment operator overloading in c++ using friend function
Answers
Answered by
8
hey ur answer is below
Assignment(=) operator is a specialoperator that will be provided by the constructor to the class when programmer has not provided(overloaded) as member of the class.(like copy constructor). 2) programmer is providing(overloading) = operator by friend function.
Assignment(=) operator is a specialoperator that will be provided by the constructor to the class when programmer has not provided(overloaded) as member of the class.(like copy constructor). 2) programmer is providing(overloading) = operator by friend function.
Answered by
9
operator in the friend function by programming
Similar questions