You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-05-25 09:50:54
Output Of The Program?
Question:
What is the output of the following code?
void main()
{
int i=0;
while(i++<10)
{
if(i<5 && i<9)
continue;
printf("\n%d\t",i);
}
}
Option A):
1 2 3 4 5 6 7 8 9
Option B):
5 6 7 8 9
Option C):
5 6 7 8 9 10
Option D):
6 7 8 9 10
Correct Answer is Option C):
5 6 7 8 9 10
Failure is the first step towards seccess.
Offline
2015-05-25 09:50:54
- Advertisement
- Ads By Google
Re: Output Of The Program?
\n
Pages:: 1