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 difference between entry control and exit
control statement?

Answer Posted / varsha

Entry checking loop works on while statement, Exit checking loop works on do....while statement.

Entry checking loop will check the condition at the very beginning and if the condition is false,it won't work......
The exit checking loop will check for the condition at the last and even if the condition is false,it will work at least once


Ex for entry controlled loop:
int i=6;
while(i<5)
{
System.out.println("hello");
}

Output:
no output...


Ex. for exit controlled loop:
int i=6;
do
{
System.out.println("hello");
}
while(i<5);

Output:
HELLO.....

Is This Answer Correct ?    8 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

2226


What is the description for syntax errors?

1103


How does normalization of huge pointer works?

1110


What is the difference between class and object in c?

1108


Explain what is a 'locale'?

1024


How does pointer work in c?

1083


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1993


I came across some code that puts a (void) cast before each call to printf. Why?

1165


Why do we use static in c?

1075


What is the difference between exit() and _exit() function?

1006


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1035


What is #pragma statements?

1061


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

991


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1118


i want to know the procedure of qualcomm for getting a job through offcampus

2422