Question: 1. Why do we use parameters to a function? 2. Why don't we just pass all parameters by reference so we can always have input

1. Why do we use parameters to a function? 2. Why don't we just pass all parameters by reference so we can always have input AND output parameters? Explain. 3. Why would you choose to use a parameter to return a value from a void function as opposed to using an RETURN statement and a non-void function? 4. When doing top-down programming, which is more likely to be needed, a driver or a stub? 5. Why do we have to use indirect references in our programs? Explain. 6. What is the difference between the & operator and the * operator? How are they related?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!