fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a;
  5. a=1;
  6. printf("%s",a);
  7. return 0
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:1: error: expected ‘;’ before ‘}’ token
 }
 ^
stdout
Standard output is empty