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...

what will be the output of this program
main()
{
int i=1;
while (i<=10);
{
i++;
}
}

Answer Posted / aswini

answer will be 10.it will never execute the loop as there
is semicolon.hence directly 10 will be assigned to i.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I change their mode to binary?

1112


Why ca not I do something like this?

1009


What is meant by errors and debugging?

1103


What is a structure in c language. how to initialise a structure in c?

1062


Can you pass an entire structure to functions?

1117


What is function what are the types of function?

996


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3956


What's the best way of making my program efficient?

1101


In a byte, what is the maximum decimal number that you can accommodate?

1138


What are the different file extensions involved when programming in C?

1264


What is output redirection?

1218


Explain what is the benefit of using enum to declare a constant?

1078


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1299


What is data structure in c programming?

1077


What is sizeof in c?

1007