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
What is the difference between far and near ?
What is an array? What the different types of arrays in c?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Explain what are the advantages and disadvantages of a heap?
What is a void * in c?
Why c language is called c?
What are the valid places to have keyword “break”?
What are the disadvantages of external storage class?
What is the best way to comment out a section of code that contains comments?
How many parameters should a function have?
Explain the use of #pragma exit?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What is getch?
Can you subtract pointers from each other? Why would you?