1.

Consider the following C-program :int fun(){static int num = 16;return num--;}int main(){for(fun(); fun(); fun())printf("%d ", fun());return 0;}What is output of above program?(A) Infinite loop(B) 13 10 7 4 1(C) 15 12 8 5 2(D) 14 11 8 5 2

Answer»


Discussion

No Comment Found

Related InterviewSolutions