I'm amazed that a file with the following lines of code is properly built and the linker generates an executable.
Except for main, I believed all functions had to include a proper return statement unless the return type was void.
int foo(){}
double bar(){}
int main(){}
What am I missing?