fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a-b;
  5. printf("Hello World");
  6. return 0;
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:4:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
  int a-b;
       ^
prog.c:4:8: error: ‘b’ undeclared (first use in this function)
  int a-b;
        ^
prog.c:4:8: note: each undeclared identifier is reported only once for each function it appears in
stdout
Standard output is empty