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
Can math operations be performed on a void pointer?
Explain what is the difference between text files and binary files?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Disadvantages of C language.
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Is using exit() the same as using return?
What is assignment operator?
What are terms in math?
define string ?
What are the restrictions of a modulus operator?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
What is main () in c language?
How many types of sorting are there in c?
how to write a c program to print list of fruits in alpabetical order?
The __________ attribute is used to announce variables based on definitions of columns in a table?