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){
....
}
Post New Answer View All Answers
What are enumerated types?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What will the preprocessor do for a program?
How do I use void main?
How can I recover the file name given an open stream?
What is the c language function prototype?
How can you pass an array to a function by value?
What is a function simple definition?
What is define c?
What is c++ used for today?
Why do we use pointer to pointer in c?
Explain the use of function toupper() with and example code?
How will you write a code for accessing the length of an array without assigning it to another variable?
What is the difference between fread and fwrite function?
Which is the best website to learn c programming?