C语言第九章.ppt

9.1 Introduction One of the strengths of C language is that C functions are easy to define and use. Used functions in every program, such as main, printf and scanf. In this chapter, consider: how a function is designed how two or more functions are put together how the communicate with one another. 9.2 Need for User-Defined Functions Only main function, it leads a number of problems: The program become too large The task of debugging, testing, and maintaining becomes difficult. A program is divided into functional parts, which results in a number of advantages: It facilitates top-down

文档评论(0)

1亿VIP精品文档

相关文档