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

write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1995


What are the advantage of c language?

1054


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

1142


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

1991


Difference between strcpy() and memcpy() function?

1155


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1942


Explain how many levels deep can include files be nested?

1079


how can f be used for both float and double arguments in printf? Are not they different types?

1073


What are local variables c?

1025


What is difference between array and structure in c?

1196


p*=(++q)++*--p when p=q=1 while(q<=6)

1764


What is the explanation for cyclic nature of data types in c?

1221


What is an identifier?

1036


Do pointers take up memory?

1165


Tell me with an example the self-referential structure?

1030