I am confused regarding with the c compilers. as per my knowledge for a programmer the code is not important but the internal behaviour is very important.cause if we know how the compiler behaves for the perticular code then we can write programs easily. but i love linux alot. and my system is linux platform i didn't used windows till now because i hate windows os. i don't know how the behaviour regarding turbo C.
in my linux system i have gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) .but i studied in one Website that we should not use main() directly we should use int main() like that. but my compiler that is compiling below code without error.
#include <stdio.h>
main() { /* ... */ }
I am going to attend for the job interviews so which compiler i have to follow suggest me?. i am confused understanding C language. And i want to know based on which compiler the linux kernel written?