answersLogoWhite

0

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; }

User Avatar

Wiki User

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
ReneRene
Change my mind. I dare you.
Chat with Rene
More answers

I want the difference between the for loop & while loop statements

User Avatar

Wiki User

13y ago
User Avatar

if statement is used to check the condition. And it is part of the loop use to check the condition during iteration. And Loop is called as iterative statement.

User Avatar

Wiki User

16y ago
User Avatar

it is used for repetation of one process(evaluation)

.

User Avatar

Wiki User

14y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between looping statements - c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp