I got this warning message
"warning: control reaches end of non-void function"

May I know exactly what does it mean?

And what is the difference between the compiling option -O2 and -O3?

Thanks for your help!