Question: 2. (6 points) Given the following program, if the add the address of variable B is 3000 , the address of variable pp is 5000

2. (6 points) Given the following program, if the add the address of variable B is 3000 , the address of variable pp is 5000 , what will be the output of the \#include using namespace std; int fun(int *q, int \&a, int b=10){ (q)++;a++;b++; return a+b; \} int main ()\{ int A=5,B=6 int p,pp 2. (6 points) Given the following program, if the add the address of variable B is 3000 , the address of variable pp is 5000 , what will be the output of the \#include using namespace std; int fun(int *q, int \&a, int b=10){ (q)++;a++;b++; return a+b; \} int main ()\{ int A=5,B=6 int p,pp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
