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 / prem
Hai Deepa,You are Absolutely right.d is the right
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Should I learn data structures in c or python?
largest Of three Number using without if condition?
explain what is fifo?
What is the use of static variable in c?
why wipro wase
Is c high or low level?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Why is sizeof () an operator and not a function?
What is a static function in c?
the question is that what you have been doing all these periods (one year gap)
Why void main is used in c?
What is function pointer c?
How can I read data from data files with particular formats?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above