variable diagrams

juat a quick question, say u get a variable function like this:

void func2(int n, int & n1)
{
n = 2 * AA;
n1 = n - n1;
}

and AA = 200;
n = 20

now my question, in order to get n1, do i use n = 20, or the n that i worked out in the function?
You don't "get" n1, you should already have it when you "give" it to the function, which then modifies it for you.
Topic archived. No new replies allowed.