1.

What will be the output of the program?_x000D_ #include_x000D_ int i;_x000D_ int fun1(int);_x000D_ int fun2(int);_x000D_ _x000D_ int main()_x000D_ {_x000D_ extern int j;_x000D_ int i=3;_x000D_ fun1(i);_x000D_ printf("%d,", i);_x000D_ fun2(i);_x000D_ printf("%d", i);_x000D_ return 0;_x000D_ }_x000D_ int fun1(int j)_x000D_ {_x000D_ printf("%d,", ++j);_x000D_ return 0;_x000D_ }_x000D_ int fun2(int i)_x000D_ {_x000D_ printf("%d,", ++i);_x000D_ return 0;_x000D_ }_x000D_ int j=1;

A. 3, 4, 4, 3
B. 4, 3, 4, 3
C. 3, 3, 4, 4
D. 3, 4, 3, 4
Answer» C. 3, 3, 4, 4


Discussion

No Comment Found

Related MCQs