Computer Science, asked by shivamagg4817, 1 year ago

Assignment operator overloading in c++ using friend function

Answers

Answered by CBSEMP
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.

Answered by Shanaya200
9
operator in the friend function by programming
Similar questions