Lesson 12.1 : Introducing GOTO and Loops in C

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

which book is best for learning c in depth??

lalitgupta
Автор

Um yeah it all depends on the (Label, the 6 instructions, and the Goto Label) Technically if within the 6 statements the calculations do not lead up to a Terminating Command, then yeah it would be an infinite loop but if every single time it Gave a +1 counter until it reached a number and if the first statement checked if it Reaches that number then then Goto EOF, but if not then it goes to the next 5 statements and basically the counter can +1 on the 6th instruction, well then there would be something to terminate it with, Unless somehow the in between instructions had influence on the Counter themselves, then yeah there would always be someway to escape the Loop! :)

sarainiaangelsong