C Programming Language

Return statement

                     A function may or may not return a value. A return statement returns a value to the calling function and assigns to the variable in the left side of the calling function. If a function does not return a value, the return type in the function definition and declaration is specified as void.

Example:

Return statement
compound statement Home null statement

c program stats