The output of the following ‘C’ language code is:
void main() {
int x=1, i, y = 2;
for (i=0;i<10;i++)
{
x≪1;
y=x+i;
}
printf(“%d, %d”,x,y);
}1
1, 1
2
10, 11
3
10, 1
4
1, 10
The output of the following ‘C’ language code is:
void main() {
int x=1, i, y = 2;
for (i=0;i<10;i++)
{
x≪1;
y=x+i;
}
printf(“%d, %d”,x,y);
}