I was just wondering, if I write float main(), why do I need to write a return statement? I know about the C99 standard, which states
If the return type of the main function is a type compatible with int, a return from the initial call to the main function is equivalent to calling the exit function with the value returned by the main function as its argument;10) reaching the } that terminates the main function returns a value of 0. If the return type is not compatible with int, the termination status returned to the host environment is unspecified.
Since float is compatible with int, return statement should not be necessary?