
struct fcomplex { float r, i; };

struct fcomplex complex(float re, float im) {
  struct fcomplex c;
  c.r = re;
  c.r = im;
  return (c);
}

main() {
  struct fcomplex z;
  z = complex(2,2);
  printf("%f+%fi\n", z.r, z.i);
}

