Next: Scope of externals Up: Writing Larger Programs Previous: Header files

External variables and functions

``Internal'' implies arguments and functions are defined inside functions - Local

``External'' variables are defined outside of functions - they are potentially available to the whole program (Global) but NOT necessarily.

External variables are always permanent.

NOTE: That in C, all function definitions are external. We CANNOT have embedded function declarations like in PASCAL.



Dave.Marshall@cm.cf.ac.uk
Wed Sep 14 10:06:31 BST 1994