GATEverse
← GATE CSE 2010

Q11

MCQ1 mark, −0.33

What does the following program print? #include<stdio.h> void f(int *p, int *q) { p=q; *p=2; } int i=0, j=1; int main() { f(&i, &j); printf("%d %d\n", i,j); return 0; }

Sign in to save attempts.

Loading…