fork download
  1. #include <stdio.h>
  2.  
  3. main()
  4. {
  5. char a = `A`;
  6. printf("%d\n", a);
  7. printf("%c\n", a);
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main()
 ^
prog.c: In function 'main':
prog.c:5:5: error: stray '`' in program
     char a = `A`;
     ^
prog.c:5:5: error: stray '`' in program
prog.c:5:15: error: 'A' undeclared (first use in this function)
     char a = `A`;
               ^
prog.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
stdout
Standard output is empty