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
What is d scanf?
What is the difference between malloc() and calloc() function in c language?
What is output redirection?
How can a process change an environment variable in its caller?
Is there a built-in function in C that can be used for sorting data?
What is pointer to pointer in c?
What do you mean by scope of a variable in c?
Can i use “int” data type to store the value 32768? Why?
What are dangling pointers? How are dangling pointers different from memory leaks?
What is a pointer value and address in c?
What is meant by int main ()?
Apart from dennis ritchie who the other person who contributed in design of c language.
What is openmp in c?
How can I read in an object file and jump to locations in it?
write a c program for swapping two strings using pointer