...

/

Arguments and Function Scope

Arguments and Function Scope

This lesson deals with the nature of the arguments being passed to a function.

We'll cover the following...

In the previous lesson, we learned how to pass arguments into a function. It is a very simple process, but there are a few things we need to know about how the C++ compiler treats these arguments.

Pass-by-Value

The compiler never actually sends the variables into the function. Instead, a ...