Failure to specify function prototypes results in a function being implicitly defined. Without a function prototype, the compiler will assume the the correct number of parameters have been supplied to a function. Calling a function with a different number of arguments then that function expects results in unintended program behavior.
Wiki Markup |
---|
MostCompilers compilerstypically will issue a warning when a function is implicitly defined. Although, these warnings should be resolved before proceeding \[[MSC00-A|MSC00-A. Compile cleanly at high warning levels]\], they will not prevent the program from compiling. |
...