Control Instructions - Programming

Q1:

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;
}

A 2 1
3 1
4 1
5 1
6 1
7 0

B 2 1
3 1
4 1
5 1
6 1

C 2 1
3 1
4 1
5 1

D 2 2
3 3
4 4
5 5

ANS:A - 2 1
3 1
4 1
5 1
6 1
7 0

No answer description is available. Let's discuss.