22 References and Pointers (continued) For simple cases, using references is easier and is the recommended approach –Passing addresses to a function For more complex situations, pointers are required –Dynamically allocating new sections of memory for additional variables as a program is running –Using alternatives to array notation
{}