C – Program Structure

From EdWiki

Revision as of 09:31, 23 June 2015 by Jshankar (Talk | contribs) (1 revision imported: EdWiki -- Emsys pages from Shukra)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.