GATE Computer Science (CS) 2016 Shift 2 Solved Paper

© examsiri.com
Question : 22 of 65
 
Marks: +1, -0
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);
}
  • Your Answer:
Go to Question: