5.18 "C" Language Constructs - 4
5.18 "C" Language Constructs - 4
return
expression
opt
;
The optional expression is the returned value.
If nothing is explicitly returned, the returned value is garbage.
The returned value is coerced into the type of the function.
"Running" into the closing
}
will also return control from a function.
Instructor:
ltaber@pima.edu
** My new
Home
at
GeoApps
in
Tucson
** The
Pima College
Site
5.18 "C" Language Constructs - 4