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 / krishna kumar
ya deepa is ryt.
true here equals zero...which is false.
so the correct answer is D.
| Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
What are different types of pointers?
Why is it that not all header files are declared in every C program?
How do you do dynamic memory allocation in C applications?
What are the data types present in c?
What are actual arguments?
Do you know null pointer?
What is structure packing in c?
What do you mean by command line argument?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
State the difference between x3 and x[3].
how many key words availabel in c a) 28 b) 31 c) 32
What is fflush() function?
What are the advantages and disadvantages of pointers?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the difference between pure virtual function and virtual function?