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

d

Is This Answer Correct ?    44 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where static variables are stored in c?

581


Can a pointer point to null?

578


When should a far pointer be used?

592


Why cant I open a file by its explicit path?

588


What is || operator and how does it function in a program?

620






Dont ansi function prototypes render lint obsolete?

599


What is use of null pointer in c?

563


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

547


What is meant by errors and debugging?

639


What are keywords in c with examples?

597


How can a program be made to print the line number where an error occurs?

639


How can I remove the trailing spaces from a string?

605


What does void main () mean?

720


Can an array be an Ivalue?

657


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

607