What is the general form of function in C?

Trainee Asked on November 4, 2019 in C Language.
Add Comment
1 Answer(s)

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.

RE: What is the general form of function in C?

 

Reviewer Answered on November 4, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.