1.

What will be the output of the following program? #include< stdio> Void f(static int*, extern int); Static int b = 12; Int main() { Static int a[5]; Register int I; For(I = 0; I < 2> A[i++] = 2 * i++; F(a, b); For(I = 0; I < 2> Printf( %d , b++); Return 0; } Void f (static int *x, extern int y) { Register int I; For(I = 0; I < 2> *(++x +1) + = 2; Y + = 2; }

A. 0 0
B. 0 6
C. 0 12
D. 12 12
Answer» D. 12 12


Discussion

No Comment Found