Discussion Forum : Control Structures
Question - What will be the output of given program?
#include
void main()
{
int a=3;
for(;a;printf("%d ", a--);
}
Options:
A .  no output
B .  3 2 1 0
C .  3 2 1
D .  infinity loop
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *