A non-strict function can (only one answer please)
For each of the following parameter passing methods, say whether the actual parameter can be modified by the call (assuming that it is a variable and that it does not occur inside the body)
Consider the following procedure and fragment of code in C++ like. Assume that z is a global variable.
void p(int ... x, int ... y){ x = x+1; y = y+1; cout << y; }
...
z = 1;
p(z,z);
...
What is the value printed by the instruction cout << y; under each the following parameter passing methods (for both the parameters x and y):
The activation record associated to a function call contains storage for: (only one answer, please)