answersLogoWhite

0

How infinite loop is created using while in C programming?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

while (2*2==4) printf ("Still running\n");

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How infinite loop is created using while in C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between static and dynamic programming?

in static programming properties, methods and object have to be declared first, while in dynamic programming they can be created at runtime. This is usually due to the fact that the dynamic programming language is an interpreted language.


Why it is necessary to avoid infinite loops in program design in C programming?

Infinite loops in any programming language are infinite. As in, they don't stop, unless they are told so somewhere INSIDE the loop. If a loop is allowed to continue infinitely (e.g while(true){} is a valid, truly infinite loop), they will hang up (freeze) the program, or even the computer running it, eating excessive resources, and requiring your user to manually terminate (sigterm, sigkill, task manager, alt+f4) the process.


What is an infinite loop in c plus plus?

An infinite loop is one sequence of commands that just repeats over and over again forever. When it comes to creating an infinite loop you can use the: for do while and do statements. using the keywords 'true'


What are the example of programming?

Virtually any software used by a computer is an example of programming. While the user will interact with an interface most of the time, the developer will create the entire thing using many, many lines of code.


Why c is call structured programming?

Because you can use programming structures, namely: sequence, selection (if, switch) and repetition (while, for, do-while)


What does infinite and finite mean?

Infinite means never ending while finite means it ends.


In object oriented programming when does memory for the class is allocated and why?

While it depends on the specific language, memory for a class is usually allocated when an object of that class is created.


What programming language is used for www.threadless.com?

HTML and javascript. While viewing www.threadless.com or any site for that matter. If you are using Internet Explorer, Click View->Source.


What is multiprogaming?

Its a form of programming while multitasking


What is the difference between infinite and finite sequence?

infinite is never ending while finite means it canend


How can you create infinite instances of the same class using Python?

try using a never ending looping statement (I know that I need a while/for loop, but I don't know how to assign variables to a randomly generated string)


What is the difference between online and offline programming?

Online programming is programming that has to occur while the computer or other device is connected to the internet. Offline programming doe not require an internet connection.