Who modified my local variable?

Levi Pearson levi at cold.org
Tue Jun 13 22:02:03 MDT 2006

On Jun 13, 2006, at 9:54 PM, Ross Werner wrote:
> ... C is also always pass by value unless you use the '&', in which  
> case it's pass by reference (because at that point, using the  
> assignment operator inside the function does modify that passed-in  
> variable.

In which case it's also C++, not C. :)  C always passes arguments by  
value.  Which I'm sure you're aware of; I'm just being precise.


More information about the PLUG mailing list