1 2 3 4 5 6 7 | #include <stdio.h> int main(void) { printf("Hello World"); getch(); } |
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKHZvaWQpCnsKICAgIHByaW50ZigiSGVsbG8gV29ybGQiKTsKICAgIGdldGNoKCk7Cn0K
prog.c: In function ‘main’: prog.c:5:5: warning: implicit declaration of function ‘getch’ [-Wimplicit-function-declaration] prog.c:6:1: warning: control reaches end of non-void function [-Wreturn-type] /home/tys9CS/ccmWqE0U.o: In function `main': prog.c:(.text.startup+0x16): undefined reference to `getch' collect2: error: ld returned 1 exit status
-
result: Compilation error (maybe you wish to see an example for C)


