
function prototypes
A function prototype is a line of code that declares a function's name, return type, and the types of its inputs before the function is actually used or defined. It acts like a promise, informing the compiler about how to call the function correctly, ensuring that calls are made with the right number and types of arguments. This helps prevent errors and allows for better organization, especially in larger programs, by enabling the compiler to check for consistency and facilitate separate development of code modules.