Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

#include<stdio.h>
main()
{int i=1;j=1;
for(;;)
{if(i>5)
break;
else
j+=1;
printf("\n%d",j)
i+=j;
}
}

Answer Posted / ajay

error loop is incomplete

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how logic is used

1966


Why clrscr is used in c?

1014


write a program to generate address labels using structures?

4569


Are bit fields portable?

1155


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

1238


Is boolean a datatype in c?

1062


What are the advantages of using linked list for tree construction?

1083


What is #include stdlib h?

1103


Can you please explain the difference between strcpy() and memcpy() function?

1066


Can you assign a different address to an array tag?

1163


What is local and global variable in c?

1196


How do you convert strings to numbers in C?

1218


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

2067


Can a variable be both constant and volatile?

1113


How do I read the arrow keys? What about function keys?

1082