Wednesday, 18 September 2013

Why this program is not running?

Why this program is not running?

Hello is printed zero times. Why?
#include<stdio.h>
int main()
{
int x;
for(x=-1; x<=10; x++)
{
if(x < 5)
continue;
else
break;
printf("hello");
}
return 0;
}

No comments:

Post a Comment