home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_06 / 341.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-01  |  633KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: Getting Out Gracefully 341 more where express uo can be any legal C expression. As we saw in Chapter 3. the in type of the function must match the type of express: ion. function other state- When return statement with the syntax 19 executed in than main causes the execution of the function to terminate. Execution fol ay one resumes in the calling function at the position following the function call. The lowing diagram indicates this ma that ne pro- f1 printf (returned n), id func- and the When the return statement is used with an expression, control is passed to other the point in the calling function immediately after the function call and the value JO the expression becomes the value returned by the function We saw examples of this use in Chapters and Suppose we want to write function to ...