/in/foo.c: In function 'main':
/in/foo.c:5:8: warning: multi-character character constant [-Wmultichar]
5 | scanf('%f',f);
| ^~~~
/in/foo.c:5:8: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
5 | scanf('%f',f);
| ^~~~
| |
| int
In file included from /in/foo.c:1:
/usr/include/stdio.h:421:42: note: expected 'const char * restrict' but argument is of type 'int'
421 | extern int scanf (const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/in/foo.c:6:6: error: called object is not a function or function pointer
6 | c=5/9(f-32);
| ^
/in/foo.c:7:17: warning: multi-character character constant [-Wmultichar]
7 | printf('%.2f',c);
| ^~~~~~
/in/foo.c:7:17: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
7 | printf('%.2f',c);
| ^~~~~~
| |
| int
/usr/include/stdio.h:356:43: note: expected 'const char * restrict' but argument is of type 'int'
356 | extern int printf (const char *__restrict __format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/in/foo.c:8:10: error: expected declaration or statement at end of input
8 | return 0;
| ^~~~~~