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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started