C – Program Structure

From EdWiki

Program Structure

  • A C – Program consists of variables and functions which are either internal or external.
  • C - Programs generally consist of many small functions rather than a few big ones.
  • Communication between the functions is by arguments, values returned by the functions, and through external variables.
  • A program may be divided into one or more source files.
  • Source files may be compiled separately and linked together, along with previously compiled functions from libraries to form a final program.