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

its d.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where in memory are my variables stored?

639


What is break in c?

590


Who is the founder of c language?

688


Explain what are the standard predefined macros?

655


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

945






Tell me the use of bit field in c language?

634


What are the basic data types associated with c?

820


Explain how do you print an address?

661


What are the types of i/o functions?

685


What is a class c rental property?

620


What is spark map function?

584


What is difference between array and pointer in c?

542


When is a “switch” statement preferable over an “if” statement?

653


Why do we use & in c?

595


Why static variable is used in c?

561