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
Is c easy to learn?
how is the examination pattern?
Is c object oriented?
What is storage class?
How can I read/write structures from/to data files?
Why we use conio h in c?
How do I create a directory? How do I remove a directory (and its contents)?
What are the advantages and disadvantages of pointers?
How are variables declared in c?
What is difference between && and & in c?
What is clrscr in c?
How can I sort a linked list?
what is the syallabus of computer science students in group- 1?
How many loops are there in c?
What is the advantage of using #define to declare a constant?