0 votes
in C Plus Plus by

What is the explanation for prototype function in C?

1 Answer

0 votes
by

Prototype function is a declaration of a function with the following information to the compiler.

Name of the function.

The return type of the function.

Parameters list of the function.

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

In this example Name of the function is Sum, the return type is integer data type and it accepts two integer parameters.

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
...