break, continue, and goto Statements in C
Sometimes a loop needs to exit early, skip just one iteration, or a program needs to jump directly to another labeled point. C provides three jump statements for exactly this: break, continue, and goto. This is Post 2 of the Unit II series — Post 1 covered while, for, and do-while loops. break: Exit the … Read more