Answer:
The function prototype declares the type of the function, and the type and number of its parameters. This allows the compiler to check for valid calling sequence, and to generate the correct code. It was optional in C, and it is required in C++.