What will be the output of the program? #include<stdio.h> int main() { int x=1, y=1; for(; y; printf("%d %d ", x, y)) { y = x++ <= 5; } printf(" "); return 0; }

Correct Answer: 2 1 3 1 4 1 5 1 6 1 7 0

More Questions from Control Instructions

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion