fork download
  1. #include <stdio.h>
  2.  
  3.  
  4. int main(void) {
  5. printf("hello");
  6. getch();
  7. return 0;
  8. }
  9.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:6:2: warning: implicit declaration of function 'getch' [-Wimplicit-function-declaration]
  getch();
  ^
/home/qdOAhL/ccVlhFAr.o: In function `main':
prog.c:(.text.startup+0x1c): undefined reference to `getch'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty