Endless loop: utility, ending the loop
Sometimes, programmer will intentionally create an endless loop, can you think of an example why? When programmer intentionally creates an endless loop, how will he end the loop?© SolutionLibrary Inc. solutionlibary.com 9836dcf9d7 https://solutionlibrary.com/computer-science/hardware/endless-loop-utility-ending-the-loop-7gam
... for ever
read data from temperature sensor
process data and send it to lcd display board
while ( 1 )
same loop body as in above example
There could be situations where temperature sensor goes bad or interface to it goes ...