prog.c:4:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main()
^~~~
prog.c: In function ‘main’:
prog.c:9:37: warning: multi-character character constant [-Wmultichar]
if (c != ' ' || c != '\n' || c != '/t')
^~~~
prog.c:14:9: warning: passing argument 1 of ‘printf’ makes pointer from integer without a cast [-Wint-conversion]
printf('_');
^~~
In file included from prog.c:1:0:
/usr/include/stdio.h:364:12: note: expected ‘const char * restrict’ but argument is of type ‘int’
extern int printf (const char *__restrict __format, ...);
^~~~~~
prog.c:15:1: error: ‘else’ without a previous ‘if’
else
^~~~
prog.c:17:10: warning: multi-character character constant [-Wmultichar]
printf('/n');
^~~~
prog.c:17:10: warning: passing argument 1 of ‘printf’ makes pointer from integer without a cast [-Wint-conversion]
In file included from prog.c:1:0:
/usr/include/stdio.h:364:12: note: expected ‘const char * restrict’ but argument is of type ‘int’
extern int printf (const char *__restrict __format, ...);
^~~~~~