Functions


      Learning Objectives
      Understand the use of the function definition and declaration
      Be able to write a function definition given a specification
      Be able to call a function
      Understand the use of void
      Be able to use standard functions
      Understand the scope of variables in functions
      Understand the use of recursive functions
      Understand the use of refernce variables and be able to use them to alter values sent to a function
      Understand the concept of Default Arguments and be able to use them
      Understand the concept of function overloading

      Source Code from Notes
      Additional Examples
      Quick Check Exercises
      Additional Exercises to try
      Test Cases for Tutorial 6
      Extra Examples on Recursion


      Previous Lecture Home Next Lecture