answersLogoWhite

0


Best Answer

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

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

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

This answer is:
User Avatar

User Avatar

Wiki User

16y ago

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.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

it is used for repetation of one process(evaluation)

.

This answer is:
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
Related questions

What is the difference between Do While statements and Do For statements?

A "do while....." statement is a looping instruction to a program to repeat a stage in the program while some condition is true - e.g while a variable is negative, or, while one variable is less than another. A "do for ....." statement is a looping instruction to a program to repeat a stage in the program a set number of times - e.g for steps = 1 to 10, or, for steps = 1 to (some variable).


What is the difference between a semantic error and logic error?

An error in the logic of a program means that the output of the program is faulty (eg the program tell you 2+2=5). An error in semantics in a program means that the program statements are not constructed properly and the usual result of this is that the program will not compile.


What are the various control statement in C language?

Control statements are the statements that control the flow of program execution. For eg: loops: For, While, Do-While, decision making using if-then-else or switch-case and there's goto to transfer control.


What is the difference between command and statement?

The difference between command and statement is that command are generally executable in direct mode. Commands usually perform some type of program maintenance such as editing, clearing, running, or saving programs. On the other side statements are the part of a computer program and run in compilers or indirect mode.


What is the difference between service and program?


What is the What is the difference between program and program?

Program is the US spelling.Programme is the UK spelling.


What is the difference between process and program?

nothing


What is the difference between curriculum and educational program?

Curriculum is to study. Program is to train.


Differences between audit plan and audit program?

difference between audit program audit & note book


What is the difference between a program and a procces?

the letters after pro


What is the Difference between assembler and macro?

I am not sure about the answer but think so, Assembler: Its a program that converts a low level language into machine code, and there is a one-to-one correspondence between the source language statements and machine instructions Macro- Assembler: It performs the same task as does the assembler but there is some times a one-to-many correspondence between the source language statements and machine instructions. Please discuss further...


What is a difference between operation system and application program?

it is a thing . believe me