title: Reaching end of function without return statement
body: <p>ANSI X3.159-1989, section 3.6.6.4, lines 33-35 state: </p>
  
  <blockquote>
    <p>“If a return statement without an expression is executed, and the
    value of the function call is used by the caller, the behavior is
    undefined.  Reaching the } that terminates a function is equivalent to
    executing a return statement without an expression.”</p>
  </blockquote>
  
  <p>I've been looking through <code>ISO/IEC 9899:1999(E)</code>, <code>ISO/IEC 9899:2011(E)</code>, <code>ISO/IEC 14882:2011(E)</code>, and <code>ISO/IEC 14882:2014(E)</code> for similar statements, especially the 2nd sentence, but about all I've found pertains to function main. If someone could point me to the correct spot(s) in any one of these documents (I don't care which) I'd appreciate it.</p>