It will not stop loop like break statement but just skip current iteration and execute next iteration inside the loop.
Example of Continue Statement:
- for loop
{ if(i==6)
{
continue;
}
printf("hello world\n");
}
i op
=====================================================
1 he.....
2 he...
3 he;;;
4 he;;;
5 he;;;
7 he;;;
8 he;;;
9 he;;;
10 he;;;
To learn more in detail about C Language at TCCI.
Call us @ 9825618292
Visit us @ http://www.tccicomputercoaching.com
No comments:
Post a Comment