Saturday, March 6, 2010

break statement

break statement terminate loop.

int main()
{
int i;
for(i=0;i<2;i++)
{
printf("Before break statement");
break;
printf("After break statement");
}
return 0;
}

Output


Before break statement

0 comments:

Post a Comment