?
What will be the output of the following code?
What will be the output of the following code?
#include<stdio.h>
void main()
{
int s=0;
while(s++<10)
{
if(s<4 && s<9)
continue;
printf("%dt", s);
}
}
#include<stdio.h>
void main()
{
int s=0;
while(s++<10)
{
if(s<4 && s<9)
continue;
printf("%dt", s);
}
}
Answer & Solution
Correct Answer:
Option
C
'If' statement only true when value of 's' is less then 4

Join the Discussion
Login to post a comment or share your explanation.
Login