/in/ex1.c: In function 'main':
/in/ex1.c:22:5: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
gets(ipt);
^~~~
/in/ex1.c:111:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d%di", z1.re, z1.im);
^
/in/ex1.c:111:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
printf("%d%di", z1.re, z1.im);
^
/in/ex1.c:113:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d+%di", z1.re, z1.im);
^
/in/ex1.c:113:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
printf("%d+%di", z1.re, z1.im);
^
/in/ex1.c:18:9: warning: unused variable 'a' [-Wunused-variable]
int a=20;
^
/in/ex1.c:110:11: warning: 'z.im' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(z.im<0) {
^
/tmp/cc57XYZG.o: In function `main':
ex1.c:(.text.startup+0x23): warning: the `gets' function is dangerous and should not be used.