Question:

What will be the output of the program?

#include<stdio.h>
int main()
{
    int x=1, y=1;
    for(; y; printf("%d %d\n", x, y))
    {
        y = x++ <= 5;
    }
    printf("\n");
    return 0;
}

Answers:


Keywords:

© 2017 QuizBucket.org