home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / _HANDBOOK_ / APDX_E / E-5.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-13  |  554KB  |  2550x3300
Labels: book | reckoner
OCR: Control Statements in C E-5 tatementl 1s The return Statement SYNTAX return; or return express ion, FUNCTIONALITY an point Used in a function to cause execution to return to the back calling to the environment calling followed at environ- the by immediatcly after the function call In the syntax where return expression, the expression 15 evaluated and passed ment as the return value of 'the function. See examples in Sections 1.7 and 3.9 The swi tch Statement SYNTAX switch (expression) statement ntifier) label K labels are Typical use: ression in switch (expression) case labeli tenent case label2 tatement2 case abeln atementn defaul tement opt ional where the expression must be one of the integer types and the case labels must be constant integral types. FUNC TIONALITY In the typical use, th ...