Q&A

I got some questions:

"We are in a small group going over oblig 2 right now, and we seem to have interpreted the first task differently"

"Some have interpreted the size to mean the size of the object that travels, does a call and returns, and others that the size of what is being called is different"

"Also, it doesent specify what to compare call by visit against. I think it implied its versus calling functions remotely"

Answer:

The parameter object is to have an attached object - it is the size of that attached object that is mentioned. Thus there are two objects travelling: the parameter object and the attached array.Compare call-by-visit with call-by-reference, i.e., with NO object moving.

-- Eric

Published Mar. 6, 2020 5:58 PM - Last modified Mar. 6, 2020 5:58 PM