Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MSC37-EX1: According to the C Standard, subclause 5.1.2.2.3, paragraph 1 [ISO/IEC 9899:2011],  

...

"reaching the } that terminates the main function returns a value of 0.

...

" Thus, it is permissible for control to reach the end of the main function without executing a return statement.

...