/* ECP: FILEname=fig1_11.c */ /* 1*/ typedef struct Complex Complex; /* 2*/ void AddComplex( const Complex *X, const Complex *Y, Complex *Sum ) /* 3*/ { /* 4*/ Sum->Real = X->Real + Y->Real; /* 5*/ Sum->Imag = X->Imag + Y->Imag; /* 6*/ }