write c/c++ code of overloading ^operator in complex number class.
If we have two objects of complex number class as fellows,complex obj3 =obj1 ^obj2 ;
Obj3 reak and imaginary pars will be ,
Obj3.real = (obj1.real)obj2.real
And
obj3.img = (obj1.img)obj2.img