using namespace std; #include struct complex { double re, im; }; int main () { complex c = {2.5,2.5}; cout << "c = "; cout << " Re: " << c.re; cout << ", Im: " << c.im; cout << endl; complex *pc = &c; pc->re = 3; pc->im = 3; cout << "c = "; cout << " Re: " << c.re; cout << ", Im: " << c.im; cout << endl; return 0; }