prog.c: In function ‘main’:
prog.c:11:11: warning: character constant too long for its type
char v = 'chafsg';
^~~~~~~~
prog.c:11:11: warning: overflow in conversion from ‘int’ to ‘char’ changes value from ‘1634104167’ to ‘103’ [-Woverflow]
prog.c:14:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
printf("l is %d", z);
~^ ~
%f
prog.c:16:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
printf("l is %d", l)
~^ ~
%f
prog.c:16:22: error: expected ‘;’ before ‘}’ token
printf("l is %d", l)
^
;
}
~
prog.c:9:8: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
float m;
^
prog.c:7:6: warning: unused variable ‘r’ [-Wunused-variable]
int r= 0;
^
prog.c:4:6: warning: unused variable ‘n’ [-Wunused-variable]
int n = 18;
^