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 / deepa
d
| Is This Answer Correct ? | 44 Yes | 2 No |
Post New Answer View All Answers
How can you call a function, given its name as a string?
What is a void * in c?
Explain what is wrong with this program statement?
What is the right type to use for boolean values in c?
What are predefined functions in c?
Where we use clrscr in c?
How can I make sure that my program is the only one accessing a file?
What does it mean when a pointer is used in an if statement?
What is a good way to implement complex numbers in c?
What is the meaning of typedef struct in c?
program for reversing a selected line word by word when multiple lines are given without using strrev
How do I create a directory? How do I remove a directory (and its contents)?
What is call by value in c?
What is "Hungarian Notation"?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.