For v.s while in C programming ?
- by shinchyn
There are 3 loops in C: for, while, do-while. What's the difference between them?
For example, it seems nearly all while statement can be replaced by for statement, right? Then, what's the advantage using while?