What is the general form of function in C?
Function definition in C contains four main sections.
- Return Type -> Data type of the return value of the function.
- Function Name -> The name of the function and it is important to have a meaningful name that describes the activity of the function.
- Parameters -> The input values for the function that needs to use perform the required action.
- Function Body -> Collection of statement that needs to perform the required action.