/in/foo.c: In function 'main':
/in/foo.c:6:17: warning: format '%c' expects argument of type 'char *', but argument 3 has type 'float *' [-Wformat=]
6 | scanf("%f,%c",&f,&c);
| ~^ ~~
| | |
| | float *
| char *
| %e
/in/foo.c:8:31: warning: unknown conversion type character ' ' in format [-Wformat=]
8 | printf("摄氏温度:%0.2 ",c);
| ^
/in/foo.c:8:16: warning: too many arguments for format [-Wformat-extra-args]
8 | printf("摄氏温度:%0.2 ",c);
| ^~~~~~~~~~~~~~~~~
/in/foo.c:8:9: error: expected declaration or statement at end of input
8 | printf("摄氏温度:%0.2 ",c);
| ^~~~~~