fork download
  1. #include <stdio.h>
  2. void main()
  3. { int a=99,b='b'; 
  4. printf("%c,%d",a,b);
  5. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>
          ^
prog.c:2:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^
prog.c: In function 'main':
prog.c:3:1: error: stray '\343' in program
 { int a=99,b='b'; 
 ^
prog.c:3:1: error: stray '\200' in program
prog.c:3:1: error: stray '\200' in program
prog.c:4:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 printf("%c,%d",a,b);
 ^
prog.c:4:1: warning: incompatible implicit declaration of built-in function 'printf'
prog.c:4:1: note: include '<stdio.h>' or provide a declaration of 'printf'
stdout
Standard output is empty