increment the loop control variable
Chat with our AI personalities
The continue statement is not actually used when it is the last statement of the body of the loop. Plus: outside any loop it is rarely or never used.
a loop consist of data initialization;test condition;updation; example a for loop for(int a=1;a<5;a++) the loop will be executed 5 times four positives result and the last test condition will be failed and the loop will be exited there are many loops some of them are while loop,do...while loop,for loop,maybe more...... do while is an exit check loop and while and for are entry check loop.
the for loop is basically a repitation or traversing loop means one's to write his name 100 times he use the for loop example for(i=0;i<=100;i++) { printf("my name is AA"); } the for loop checks the condition until i<=100 repeates the name or check the condition upto 100 times and then terminates.
It's best to use a for loop.For example, if you want 10 iterations:for (int i = 1; i
Murry for long underground cables test but varley usually for short distance.