The output of the following ‘C’ language code is: void main() { int x=1, i,…
Coal India Management Trainee CBT 2017
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("%0d,%0d",x,y);
}
- A.
10,11
- B.
1,1
- C.
10,1
- D.
1,10
Attempted by 843 students.
Sign up free to check your answer
Sign up freeLoading lesson…

