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 thefunction.
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?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here