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 / srikanth karnati

there is no output because there is no out statment
there.if write printf("%d",i);at out side the loop the
output will be 11.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope of static variable in c?

944


What is difference between class and structure?

1064


Differentiate between ordinary variable and pointer in c.

1101


What is self-referential structure in c programming?

1142


What is the use of sizeof?

969


What is the function of volatile in c language?

1070


What is masking?

1102


What is unary operator?

1051


What type of function is main ()?

996


Why main is used in c?

1010


What is calloc in c?

1079


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1186


When the macros gets expanded?

1338


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1846


How can I dynamically allocate arrays?

1037