Discussion :: Control Structures
-
What will be the output of the following code?
#include
void main()
{
int s=0;
while(s++<10)
{
if(s<4 && s<9)
continue;
printf("%dt", s);
}
}
Answer : Option C
Explanation :
'If' statement only true when value of 's' is less then 4
Be The First To Comment