The for loop in C, and C++ and Java, is defined as ...
for (init-expression, limit-expression, loop-expression) statement;
The init-expression is evaluated once. Then the limit-expression is evaluated. If it is true, the statement is evaluated, which can be a block of statements, or even a null statement, otherwise, control transfers out of the loop. If the statement is executed, then the loop-expression is evaluated, and control transfers back to the limit-expression.
As an example, to print the numbers 1 through 10 ...
for (int i = 1; i <= 10; ++i) printf ("%d\n", i);
#include<stdio.h>
Yes.
do WHILE loop defination
The do while loop is also called an exit condition loop in c, c++, and java.
For LOOP is used, when you want to execute a specific block of code for specific number of times.
The nested loop.
It is a statement; you can create a loop with it: while (<condition>) <statement>
yes
It is unnecessary to use a for loop to convert meters to centimeters. Just multiply by 0.01.
Continue statement is used to take the control to the begining of the loop in which it is used.
odd loop means at least the loop execute once.
In C a structure within a structure is called nested. For example, you can embed a while loop in another while loop or for loop in a for loop or an if statement in another if statement.