What does it mean when we mention prototype of a function in C language?
2017
What does it mean when we mention prototype of a function in C language?
- A.
Prototyping
- B.
Calling
- C.
Declaring
- D.
Defining
Attempted by 289 students.
Show answer & explanation
Correct answer: A
A function prototype provides the compiler with the function’s name, return type, and parameters before its actual use. The process of mentioning this prototype in a C program is called Prototyping, which allows the compiler to perform type-checking.