The value printed by the following program is __________________ . void f(int*…
GATE · 2016 · CS · Set 2 · Computer Science & IT
The value printed by the following program is __________________ .
void f(int* p, int m){
m = m + 5;
*p = *p + m;
return;
}
void main(){
int i=5, j=10;
f(&i, j);
printf("%d", i+j);
}Attempted by 252 students.
Sign up free to check your answer
Sign up freeLoading lesson…