What is infinite loop?



What is infinite loop?..

Answer / Aman Parihar

An infinite loop in C is a loop that does not terminate. It continues to execute its statements indefinitely until the program is forcefully stopped. This can happen when the loop condition never evaluates to false.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

write a program in C to swap two variables

7 Answers   Attrabyte, Marlabs,


What are volatile variables?

1 Answers   Mind Tree,


What are dangling pointers in c?

1 Answers  


What does c mean in basketball?

1 Answers  


What is macro?

5 Answers   IBM,


Write a program to find the given number is odd or even without using any loops(if,for,do,while)

4 Answers   CNC, Gokul,


Is c language still used?

1 Answers  


Explain what are binary trees?

1 Answers  


While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.

2 Answers  


int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?

4 Answers   TCS,


write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)

1 Answers   Bosch, College School Exams Tests,


Is c is a low level language?

1 Answers  


Categories