fork download
  1. #include <stdio.h>
  2.  
  3. const char * msg = "TC";
  4.  
  5. int main(void) {
  6. printf("%d%d\n", 'Z' - *msg+1, *(msg+1)+1 - 'A');
  7. return 0;
  8. }
  9.  
Compilation error #stdin compilation error #stdout 0s 2292KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:4:2: error: implicit declaration of function ‘printf’ [-Werror=implicit-function-declaration]
  printf("%d%d\n", 'Z' - *msg+1, *(msg+1)+1 - 'A');
  ^
prog.c:4:2: error: incompatible implicit declaration of built-in function ‘printf’ [-Werror]
cc1: all warnings being treated as errors
stdout
Standard output is empty