While(1)
{

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

Answer Posted / hemas

yes, it is infinite loop.
it will terminate after stack overflow occur.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array a primitive data type in c?

818


How do you list files in a directory?

837


What is difference between static and global variable in c?

795


What are bitwise shift operators in c programming?

860


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

917


Write a program to swap two numbers without using third variable?

1079


What does d mean?

806


what value is returned to operating system after program execution?

1857


I need a sort of an approximate strcmp routine?

853


What are enums in c?

869


Who is the founder of c language?

911


Do pointers take up memory?

873


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

2862


What is use of null pointer in c?

766


Explain high-order and low-order bytes.

895