B4Coder
0%
LessonAbout 7 min

Chapter 7 · Lesson 3 of 5

03. Changing a variable with &

A function normally gets a copy of a value. Add & to a parameter and it works on the caller's own variable, so it can change it.

Opening the lesson…