Question: 3)If you has an array of 100 elements, which is easier: a or b. Explain your answer. a. Defining a function with 100 different variables
3)If you has an array of 100 elements, which is easier: a or b. Explain your answer.
a. Defining a function with 100 different variables so you can pass all elements of an array into it b. Defining a function what passes just the location of the array, and you use the original array.
4)How is Passing just ONE value into a function rather than passing 100 separate value, like a concept?
5)What are other names for pass by value and pass by reference?
6)Do you think pass by reference is used a lot or not? Explain your answer?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
