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
What is the general form of function in c?
what is stack , heap ,code segment,and data segment
Why does this code crash?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
How can I write a function that takes a format string and a variable number of arguments?
Explain main function in c?
What are the application of c?
What is the difference between test design and test case design?
What is the difference between malloc() and calloc()?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
What are 3 types of structures?
What are structure types in C?
Explain the use of #pragma exit?
What is pointer and structure in c?
Is fortran faster than c?