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


Please Help Members By Posting Answers For Below Questions

Explain how many levels deep can include files be nested?

620


What is #pragma statements?

583


How do I send escape sequences to control a terminal or other device?

600


What are comments and how do you insert it in a C program?

732


What are the types of operators in c?

606






C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

603


Why is c platform dependent?

610


What are the features of c languages?

618


What is the difference between c and python?

574


What is the use of getchar functions?

666


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

1579


What is pointer in c?

731


What does return 1 means in c?

577


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

598


List some applications of c programming language?

539