The syntax of functions in C++ inspired the function prototype syntax found in ANSI C. A C++ function lists the types of the function's parameters inside the header parentheses.
Explicitly listing the type and number of arguments makes strong type checking and assignment-compatible conversions possible.
This list of a function's arguments in the header parentheses is called the function's signature.
Click the Exercise link below to re-code a C program, which uses traditional C function syntax, as a C++ program that uses a proper function prototype.
Function Prototypes - Exercise