Which of the following parameter-passing methods should be used to implement a non-strict function (only one answer, please)
For each of the following parameter passing methods, say whether the actual parameter can be a generic expression or must be a variable
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; } ... z = 1; p(z,z); cout << z; ...What is the value printed by the instruction cout << z; 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)