I want to ask about copy constructor.
is the line sum=huge1.add(h uge2) will call the copy constructor?
int main()
{
HUGE_INT huge1(0),huge2( 1), sum;
sum=huge1.add(h uge2);
//are these two line also a copy constructor?
huge1.assign(hu ge2);
huge2.assign(su m);
return 0;
};
is the line sum=huge1.add(h uge2) will call the copy constructor?
int main()
{
HUGE_INT huge1(0),huge2( 1), sum;
sum=huge1.add(h uge2);
//are these two line also a copy constructor?
huge1.assign(hu ge2);
huge2.assign(su m);
return 0;
};
Comment