A function declaration without a body. A parameter that receives a copy of the a
ID: 3940249 • Letter: A
Question
A function declaration without a body. A parameter that receives a copy of the argument's value. A variable declared in a function heading. A function declaration with a body. A variable or expression listed in a call to a function. A statement that transfers control to a function. A parameter that receives the location of the argument in memory. A variable declared within a block. In the following function heading, which parameters are value parameters and which are reference parameters? void ExamPrep(string& name, int age, float& salary, char level)Explanation / Answer
Name is Reference Parameter as its referenced using & operator
Age is Value Parameter
Salary is Reference Parameter as its referenced using & operator
Char is Value Parameter
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.