fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int p
  6. p = 0
  7. p = p + 1
  8. printf(%n, p);
  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:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘p’
 p = 0
 ^
prog.c:6:1: error: ‘p’ undeclared (first use in this function)
prog.c:6:1: note: each undeclared identifier is reported only once for each function it appears in
prog.c:7:1: error: expected ‘;’ before ‘p’
 p = p + 1
 ^
stdout
Standard output is empty