Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. What is the difference between an argument and a parameter in C++? 2. How many values can a function return to the main program
1. What is the difference between an argument and a parameter in C++? 2. How many values can a function return to the main program in C++? Does a function have to return a value? 3. What would you do to make sure that a function cannot change the value of an argument that it is sent? 4. What is a global variable in C+ and where in a C+ program would you declare a global varaible? 5. What is a static local variable in C++ and why would you use one in a function? 6. How do you designate a reference variable in a C++ function and prototype? Why would one use a reference variable? What is the advantage of breaking a larger program down into a smaller main program with several procedures or functions
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