>>317
void add(struct cmplx c1, struct cmplx c2, struct cmplx *s)
{
s->real = c1.real + c2.real;
s->imag = c1.imag + c2.imag;
}

add(c1, c2, &s);