0 votes
in C Plus Plus by

What is the general form of function in C?

1 Answer

0 votes
by

) Function definition in C contains four main sections.

<!--[if gte vml 1]> <![endif]--><!--[if !vml]-->function in C<!--[endif]-->

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.

Related questions

0 votes
asked Jan 7 in C Plus Plus by GeorgeBell
0 votes
asked Nov 24, 2020 in C Plus Plus by sharadyadav1986
...