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
Subtract Two Number Without Using Subtraction Operator
What is the use of function overloading in C?
What is the use of parallelize in spark?
What is 'bus error'?
What is break statement?
Is this program statement valid? INT = 10.50;
What's a good way to check for "close enough" floating-point equality?
What is the difference between fread and fwrite function?
Why do we use static in c?
What’s a signal? Explain what do I use signals for?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
What is else if ladder?
How can a program be made to print the name of a source file where an error occurs?
Stimulate calculator using Switch-case-default statement for two numbers
What is hungarian notation? Is it worthwhile?