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

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
Get step-by-step solutions from verified subject matter experts
