|
|
Basic Difference b/w for and while loop?
i need to know the basic difference between FOR LOOP and a WHILE LOOP which are the syntax of C++, anyone?
|
| The Answer |
 |
FOR loop is the condition based loop which can or cannot be executed depending on the condition during the run time, WHILE loop is the loop which is executed at least once during the run time.
|
|
|
|
| Similar questions | Latest questions |
| |
|
|