Question: Given the following variable and function declarations, write the function call and the functions header: a. double price = 22.95, increase = .10; void changePrice(double&,
Given the following variable and function declarations, write the function call and the functions header:
a. double price = 22.95, increase = .10;
void changePrice(double&, double);
____________________________________________________________________________________________
____________________________________________________________________________________________
b. double price = 22.95, increase = .10;
void changePrice(double* , double);
____________________________________________________________________________________________
c. int age = 23;
void changeAge(int&);
____________________________________________________________________________________________
____________________________________________________________________________________________
d. int age = 23;
void changeAge(int*);
____________________________________________________________________________________________
____________________________________________________________________________________________
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
