fork download
  1. #include <stdio.h>
  2. int main() {
  3. static const char[] ABC = "ABC";
  4. printf("%s\n", ABC);
  5. return 0;
  6. }
  7. /* end */
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:3:20: error: expected identifier or ‘(’ before ‘[’ token
prog.c:4:18: error: ‘ABC’ undeclared (first use in this function)
prog.c:4:18: note: each undeclared identifier is reported only once for each function it appears in
stdout
Standard output is empty