I am confused about the meaning of \"pass by reference\" in C and C++.
In C, there are no references. So I guess pass by reference means passing a pointer. But then
when you pass something by reference you're working with the address and not the value of a variable directly, If you use a reference parameter you're getting the address of the variable you pass in.
From there you can manipulate it how ever you want as the variable you passed in WILL change if you change the reference in the function. It's an easier way to work with large amounts of a data it really just saves on memory etc..