for(assigning initial value;condition;increment/decrement)
{
statement;
}
for(i=0;i<=0;i++)
Yes.
UNIX has no bearing on the C language; it is cross-platform. There is no select/case in C, you probably meant switch/case. However, a switch/case is a conditional jump while a nested loop is a loop within a loop. Besides the C language they have nothing in common with each other.
For LOOP is used, when you want to execute a specific block of code for specific number of times.
An iteration is an instance of a structured loop statement (for, while or do-while).
loop: mvi c,59 dcr c mov a,c daa movc,a jnz loop end
The do while loop is also called an exit condition loop in c, c++, and java.
In the C language, the continue statement can only be used within a loop (for, while, or do). Upon execution, control transfers to the beginning of the loop.
The nested loop.
In C (and C++ and Java), the semicolon is used to mark the end of a statement. It is also used the separate the expressions in a for loop.
The for loop is another entry-controlled loop that provides a more concise loop control structure.The general form of the for loop isfor( initialization ; test condition ; increment ){body}Generally this loop is used when the either the no. of loops or the looping condition or the end condition is known.Ex.to count n no. of integers.Hope this will help.
Usually the loop is used for repeating the same task for more than one time. If you don't give the terminating statement then the loop will go in infinite condition.