how can we implement this
complex a,b,c;
a=b-c;
here my doubt after substraction that is b-c what should this function return ???
how can we implement this
complex a,b,c;
a=b-c;
here my doubt after substraction that is b-c what should this function return ???
hi @tejasddongare you want to assign the returned value to an object of class complex. so your return type should be “complex” only and you should return an object of the type complex in the function