InProgramDuring the design, the most important definition of the function prototype was not completed.
For the flexibility and maintainability of the program, many subprograms are designed during the development process to implement an independent part of the content, and then various subprograms are combined by function calling, to implement a complete program.
This can indeed bring a lot of convenience, but it is worth noting that in order to be able to enjoy this convenience, we need to spend a lot of time defining the function prototype in the early stage so that the function prototype can be as perfect as possible, and we do not want to change the prototype of a function during later development. Because of the prototype of a function, after the definition is complete, it is an interface for other functions that call it. When a defined function interface is called in large quantitiesCodeWhen a program with high maintainability and flexibility is reused, if the prototype definition is found to be faulty, the overhead of modifying the function prototype will reach an unacceptable level.