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

Which of the following is not an infinite loop ?
a.while(1){
....
}
b.for(;;){
...
}
c.x=0;
do{
/*x unaltered within theloop*/
...
}while(x==0);
d.# define TRUE 0
...
while(TRUE){
....
}

Answer Posted / vaibhav

it's 'b'
becoz for for loop we initialise atleast one statement

Is This Answer Correct ?    2 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Place the #include statement must be written in the program?

1048


What are actual arguments?

1108


How can I make it pause before closing the program output window?

1048


Explain what is the difference between #include and #include 'file' ?

1037


What is the difference between struct and typedef struct in c?

1133


What is typedf?

1131


If fflush wont work, what can I use to flush input?

1106


What is abstract data structure in c?

1055


Explain how many levels deep can include files be nested?

1083


What is difference between Structure and Unions?

1262


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1071


What is a constant and types of constants in c?

1140


What is meant by int main ()?

1213


Does free set pointer to null?

1016


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1241