Akshay Rawal wrote:sorry...but still unable to get..
Start with your code ...
Akshay Rawal wrote:
Examine the re-initialization expression part of the for-loop...
Now, read the article again.
With a better understanding what is happening to the x variable during re-initialization, do you understand why the loop is doing what it is doing?
Henry