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
Where static variables are stored in c?
Can a pointer point to null?
When should a far pointer be used?
Why cant I open a file by its explicit path?
What is || operator and how does it function in a program?
Dont ansi function prototypes render lint obsolete?
What is use of null pointer in c?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What is meant by errors and debugging?
What are keywords in c with examples?
How can a program be made to print the line number where an error occurs?
How can I remove the trailing spaces from a string?
What does void main () mean?
Can an array be an Ivalue?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler