1.

Consider following given the code and predict its output. main() { int num[ ] = {1,4,8,12,16}; int *a,*b; int i; a=num; b=num+2; i=*a+1; printf("%d,%d,%d\n",i,*a,*b); }

A. 2,1,8
B. 4,1,8
C. 4,4,8
D. 2,4,8
Answer» B. 4,1,8


Discussion

No Comment Found