QuoteBasically, I define a complex, and then want to re-asign its real and imaginary parts:complex<double> A(1,1); // assign real and im parts to 1.//Now I want to change the real and imaginary parts to 2, 2A.real() = 2; //errorThe correct syntax is A.real(2);lee