WAP in which a loop is initialized by 1 and stops at 100. it will continue the loop when variable of loop is.....


  1. Less then or equal to 10
  2. less then 10
  3. equal to 10
  4. greater then 10
  5. greater then or equal to 10
    what did you observe????



void main()
{
int i;
clrscr();
for(i=1; i<=100; i++);
{
if(i<=100)
{
continue;
printf("%d",i);
}
}
getch();
}

No comments:

Post a Comment