PPT Slide
A function appears in a program three times:Prototype Declaration: - before main - Global Scope binds the type and the name of the function, provides formal arguments (number, order, and types) Makes functions more versatile - allows one file to call functions declared in anotherFunction Call: in main or another function a reference to the function in main or another function that calls it to execute and return a value Provides Actual Arguments (values) for this call Function Definition: separate from all other functions Defines the procedure the function will execute sets the return value to be passed back to the activator Provides local names for Formal Arguments