in Technology by (1.8m points)

What is the explanation for prototype function in C?

1 Answer

0 votes
by (1.8m points)

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.

prototype function in C

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

Related questions

0 votes
asked Oct 15, 2021 in Education by JackTerrance (1.8m points)