Which statement is true?
a) When an argument is passed call by reference, a copy of the argument’s value is made and passed to the called function.
b) With call by reference, changes to the passed value do not affect the original variable’s value in the calling functions.
c) Call by value should be used whenever the called function does not need to modify the value of the caller’s original value.
d) Call by value should only be used with trusted called functions that need to modify the original variable.
c) Call by value should be used whenever the called function does not need to modify the value of the caller’s original value.
You might also like to view...
The _____ group of a typical information systems organization is responsible for the day-to-day running of IS hardware to process the organization's information systems workload.
Fill in the blank(s) with the appropriate word(s).
Power of an electromagnetic signal such as one used in WLANs is measured by which unit?
A. millivolts B. milliamps C. milliohms D. milliwatts