What is the explanation for prototype function in C?

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

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 integer data type and it accepts two integer parameters.

Reviewer Answered on November 4, 2019.
Add Comment

Your Answer

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