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


Please Help Members By Posting Answers For Below Questions

What is meant by keywords in c?

610


Describe dynamic data structure in c programming language?

596


Write a program to reverse a string.

629


What is the basic structure of c?

550


What is string constants?

653






What is the difference between the expression “++a” and “a++”?

642


Write a program to print fibonacci series without using recursion?

599


What's the right way to use errno?

612


code for replace tabs with equivalent number of blanks

1629


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3132


Explain the difference between call by value and call by reference in c language?

637


Why is C language being considered a middle level language?

645


what are non standard function in c

1423


Why is structure important for a child?

599


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1456