the prototype is to tell the compiler what is the function name, how many parameters it accepts and of what datatype, and what is the return data type.
The function prototype is similar to the variabe declaration. and function definition like variable assignment.