Hi,
i know that main() returns an int,
but, check these out:
Code:#include <stdio.h> main() { printf("Hello, world."); return 0; }These programs both work properly,Code:#include <stdio.h> int main() { printf("Hello, world."); return 0; }
so isnt the 'int' keyword in front of main() useless?
Because why put an int in front of it if without an int works also fine...
thank you
encrypted