Algol-60 provided two parameter-passing mechanisms: call-by-value and call-by-name. (i) Explain these mechanisms. (ii) Justify or criticize the
Fantastic news! We've Found the answer you've been seeking!
Question:
Algol-60 provided two parameter-passing mechanisms: call-by-value and call-by-name. (i) Explain these mechanisms. (ii) Justify or criticize the statement that “the former is expensive for arrays and the latter interacts badly with side effects”. (iii) What parameter-passing mechanism(s) do C and Java use, and how do such languages deal with an array being passed as a parameter?
Related Book For
Posted Date: