Open mrqorib opened 4 years ago
Question: Under which situation is the value of a variable passed to something? Under which situation is a reference passed? Piazza: https://piazza.com/class/kas136yscf8605?cid=632#
Answer: If the variable is bound to a primitive value, it is passed by the value. If the variable is bound to a computational object, it is passed by the reference.
Question: Under which situation is the value of a variable passed to something? Under which situation is a reference passed? Piazza: https://piazza.com/class/kas136yscf8605?cid=632#