Although, I have answers to four of the questions below, give answer them again in your own words or let me know if my answers are sufficient. Thank you expert. 1. When should functions use value...



Although, I have answers to four of the questions below, give answer them again in your own words or let me know if my answers are sufficient. Thank you expert.




1. When should functions use value parameters?



When only the literal value is needed.



2. When should function use reference parameters?



When changes need to be made on the original variable that was passed in from outside the
function.



3. When should functions use global variables?



When changes made to a variable need to be visible/accessible to all other functions.



4. When should functions use global constants?



When a function needs a value that does not change throughout the execution of the whole program.



5. How many variables can a function's return statement return?



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here