fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char mori;
  5. mori = 30;
  6. printf{"%c\n", mori
  7. }
  8. return 0;
  9. }
  10.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:6:2: warning: statement with no effect [-Wunused-value]
  printf{"%c\n", mori
  ^~~~~~
prog.c:6:8: error: expected ‘;’ before ‘{’ token
  printf{"%c\n", mori
        ^
prog.c:4:7: warning: variable ‘mori’ set but not used [-Wunused-but-set-variable]
  char mori;
       ^~~~
stdout
Standard output is empty