struct complex { double re; /* real part */ double im; /* imag part */ }; typedef struct complex complex;