Question: please help me solve this What will be the output of the following? int foo (int p, int *y) p = *y; return p; int

please help me solve this

please help me solve this What will be the output of the

What will be the output of the following? int foo (int p, int *y) p = *y; return p; int main) int *p NULL; printf("The value of 1 is: %d ", i); printf( "Now the value of i is %d ", i); return; O 1) The value of i is 9 Now the value of i is 5 O 2) The value of i is 9 Now the value of i is 9 O 3) The value of i is s Now the value of i is 9 O 4) The value of i is s Now the value of i is 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!