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

void main()
{
int a=1;
while(a++<=1)
while(a++<=2);
}

Answer Posted / madhavi

1<=1, a=2 (true)(first while)
2<=2,a=3 (true)(second while)
3<=3,a=4 (false)(second while)

4<=1,a=5 (false)(first while)

the loops are in nesting ,the second while is the loop body
of the first while loop

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is function definition in c?

1065


What is malloc and calloc?

1037


how should functions be apportioned among source files?

1088


What is the difference between printf and scanf in c?

1324


What is call by value in c?

984


What is the difference between procedural and functional programming?

1057


how we can make 3d venturing graphics on outer interface

4801


What is realloc in c?

1064


Explain union. What are its advantages?

1062


Not all reserved words are written in lowercase. TRUE or FALSE?

1217


What is identifier in c?

1000


Is swift based on c?

1082


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1448


How do you print an address?

1250


How do you declare a variable that will hold string values?

1152