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 is the diffrent between while and do while statement ?

Answer Posted / mahfooz

while(//condition checking)
{//if condition is true go inside loop.and its first check
condition then go inside loop.
}
but in do{
}while(//condition checking)..
it wiil go in loop first and then check condition..
it will go iside loop atleast one time..but in while it
may not go even in single time..

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the rules for variable declaration?

1118


What is structure data type in c?

974


How is a pointer variable declared?

1026


Is it better to bitshift a value than to multiply by 2?

1053


Explain how can you determine the size of an allocated portion of memory?

1043


What are the salient features of c languages?

1048


plz let me know how to become a telecom protocol tester. thank you.

2141


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1020


where are auto variables stored? What are the characteristics of an auto variable?

1022


what is the structure pointer?

2083


Write a program to print factorial of given number using recursion?

964


How to write a code for reverse of string without using string functions?

2077


What is the modulus operator?

1154


What are the two types of structure?

1042


Explain how can I write functions that take a variable number of arguments?

1032