1.4 Consider the following program,
main( )
{
int x = 49;
for(;x;)
x--;
printf(“%d\n”, x);
}
the output of the program will be
A) 49
B) 0
C) -49
D) none of the above
Consider the following program,
in C and CPP
in C and CPP
1.4 Consider the following program,
main( )
{
int x = 49;
for(;x;)
x--;
printf(“%d\n”, x);
}
the output of the program will be
A) 49
B) 0
C) -49
D) none of the above