-
A procedure definition contains the statements in the
body of the procedure, the procedure is actually created
A variable definition allocates memory to store the
variable value, the variable is actually created
A variable or procedure that is declared extern is not
defined in the current file, its definition is in another file
that will be loaded with the current file
A procedure is visible outside of the current file by
default, that is you can call a procedure defined in another
file
If a procedure is not declared in the current file, but is
called by a procedure in the current file, C will provide a
default declaration for the procedure, by default it
returns an integer value
If a procedure is declared static, then its definition
cannot be seen outside of the current file, a static
procedure can only be called by the procedures that are
defined in the current file - it is not seen outside of this
file
|
 |