While(1)
{

}
when this loop get terminate is it a infinite loop?

Answer Posted / raj

it is infinite loop
while(1)
{
break;
}

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of main( ) in c language?

890


What is the advantage of an array over individual variables?

993


What is an endless loop?

1058


What are the types of type specifiers?

816


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

6292


What is the difference between the expression “++a” and “a++”?

877


How is a structure member accessed?

841


define string ?

868


How do you use a 'Local Block'?

941


What is methods in c?

841


Explain what is meant by 'bit masking'?

883


What are keywords in c with examples?

840


When the macros gets expanded?

1096


How to declare a variable?

776


What is dangling pointer in c?

823