Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme 

compile c gcc online

Language: Editor: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.04 sec, absolute running time: 0.15 sec, cpu time: 0 sec, memory peak: 2 Mb, absolute service time: 0.59 sec 
edit mode |  history
source_file.c: In function ‘main’:
source_file.c:2:6: warning: implicit declaration of function ‘display’
source_file.c: At top level:
source_file.c:6:7: warning: conflicting types for ‘display’
source_file.c:2:6: note: previous implicit declaration of ‘display’ was here
source_file.c: In function ‘display’:
source_file.c:7:6: warning: implicit declaration of function ‘printf’
source_file.c:7:6: warning: incompatible implicit declaration of built-in function ‘printf’
Why am I compiling successfully?