adspace
main()
{
int x=5;
clrscr();
for(;x<= 0;x--)
{
printf("x=%d ", x--);
}
}
a. 5, 3, 1
b. 5, 2, 1,
c. 5, 3, 1, -1, 3
d. –3, -1, 1, 3, 5
Answer Posted / purushotam111
Just change the operator in for >= instead of <=
then our answer is 5 , 3 , 1
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers