Lesson 10: Pass by value & scope
In the previous lesson we learned to pass values to a function — but what does the function really receive? In C every argument is passed by value: the function gets a copy, and changing the copy never touches the original. That's why an 'innocent' swap function that exchanges its parameters leaves