Hello friends!!!!!
User defined functions
C LANGUAGE
10/4/20241 min read
The user defined functions are the functions specified the functions specified as per the requirements of the user. For Example, color(),sum(),division(),etc.
The program follows the same sections as listed above.
Return function is generally the last section of a code. But, it is not necessary to include. It is used when we want to return a value. The return function returns a value when the return type other than the void is specified with the function.
Return type ends the executive of the function. It further returns the control to the specified calling function. It is given by,
1.return; (or) return expression;
For example
return 0;