fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. var a int
  6. var b int
  7. a = 5 + 1
  8. b = a
  9. printf(a, b)
  10. return 0;
  11. }
  12.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:5:2: error: unknown type name 'var'
  var a int
  ^
prog.c:5:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
  var a int
        ^
stdout
Standard output is empty