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 āgā and āgā in C?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
How is null defined in c?
Can a variable be both constant and volatile?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Can you mix old-style and new-style function syntax?
What is the use of header files?
Write a program to reverse a linked list in c.
How can I run c program?
Which is best book for data structures in c?
Explain how can I remove the trailing spaces from a string?
explain what is a newline escape sequence?
Explain About fork()?