

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the program? #include int main() { int i=4, j=-1, k=0, w, x, y, z; w = i || j || k; x = i && j && k; y = i || j &&k; z = i && j || k; printf("%d, %d, %d, %d\n", w, x, y, z); return 0; } |
A. | 1, 1, 1, 1 |
B. | 1, 1, 0, 1 |
C. | 1, 0, 0, 1 |
D. | 1, 0, 1, 1 |
Answer» E. | |