When pass a variable to a function, why the function only gets a copy/duplicate of the variable?
int n=1; void foo(int i) { i++; }
As
It is to make sure that the function doesn't change the original value.