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
Is fortran still used today?
Explain the concept and use of type void.
What are categories used for in c?
Differentiate between the expression “++a” and “a++”?
What is conio h in c?
What does 2n 4c mean?
What does 3 mean in texting?
Write a function that will take in a phone number and output all possible alphabetical combinations
how to print the character with maximum occurence and print that number of occurence too in a string given ?
Which is better malloc or calloc?
Write a progarm to find the length of string using switch case?
Which header file is used for clrscr?
Explain the properties of union.
What is void main ()?
What are the different types of control structures in programming?