1.

What will be the output of the program?_x000D_ #include_x000D_ int main()_x000D_ {_x000D_ int i=4, j=-1, k=0, w, x, y, z;_x000D_ w = i || j || k;_x000D_ x = i && j && k;_x000D_ y = i || j &&k;_x000D_ z = i && j || k;_x000D_ printf("%d, %d, %d, %d\n", w, x, y, z);_x000D_ return 0;_x000D_ }

A. 1, 1, 1, 1
B. 1, 1, 0, 1
C. 1, 0, 0, 1
D. 1, 0, 1, 1
Answer» E.


Discussion

No Comment Found