Except for the most trivial, programs in C are composed of multiple functions that allow a large, complicated program effectively to be decomposed into smaller, simpler mini-programs. This chapter covers function declarations, definitions, parameters, return values, error handling, main, static functions, static local variables, and inline and variadic functions.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Functions

  • Paul J. Lucas

摘要

Except for the most trivial, programs in C are composed of multiple functions that allow a large, complicated program effectively to be decomposed into smaller, simpler mini-programs. This chapter covers function declarations, definitions, parameters, return values, error handling, main, static functions, static local variables, and inline and variadic functions.