What is the difference between looping statements - c program?

1 answer

Answer

1228272

2026-05-01 11:36

+ Follow

Repetition.

For example the following lines do the same thing:

while (expression) statement;

LABEL: if (expression) {statement; goto LABEL; }

Or these: for (exp1; exp2; exp3) statement;

exp1; LABEL: if (exp2) {statement; exp3; goto LABEL; }

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.