0 votes
in Technology by (1.7m points)

What is the explanation for prototype function in C?

1 Answer

0 votes
by (1.7m 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.