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 / balu

yes.. deepa is right.. all are infinite loops except d. so d
is the answer

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

1172


Explain how can I manipulate strings of multibyte characters?

1258


Explain why can’t constant values be used to define an array’s initial size?

1402


Is r written in c?

1190


What is time complexity c?

1044


Write a program of advanced Fibonacci series.

1206


What is a const pointer in c?

1182


What does it mean when the linker says that _end is undefined?

1148


What is default value of global variable in c?

1052


Give differences between - new and malloc() , delete and free() ?

1153


What is the significance of c program algorithms?

1196


What are pragmas and what are they good for?

1059


Who developed c language?

1151


Explain modulus operator.

1090


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1133