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
Where in memory are my variables stored?
What is break in c?
Who is the founder of c language?
Explain what are the standard predefined macros?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Tell me the use of bit field in c language?
What are the basic data types associated with c?
Explain how do you print an address?
What are the types of i/o functions?
What is a class c rental property?
What is spark map function?
What is difference between array and pointer in c?
When is a “switch” statement preferable over an “if” statement?
Why do we use & in c?
Why static variable is used in c?