Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Failure to specify function prototypes results in a function being implicitly defined. Without a function prototype, the compiler must estimate 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
Most compilers will issue a warning when a function is implicitly defined. Although, these warnings should be resolved before proceeding \[MSC00-CA\], they will not prevent the program from compiling.

...