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
Explain how many levels deep can include files be nested?
What is #pragma statements?
How do I send escape sequences to control a terminal or other device?
What are comments and how do you insert it in a C program?
What are the types of operators in c?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Why is c platform dependent?
What are the features of c languages?
What is the difference between c and python?
What is the use of getchar functions?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is pointer in c?
What does return 1 means in c?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
List some applications of c programming language?