Sorry but i'm confused
++a increments and then uses the variable a++ uses and then increments the variable
Why during the iteration in if it is not first --J changing the value of j and then if do validation ?
About Question enthuware.ocajp.i.v7.2.1224 :
Moderator: admin
-
- Posts: 1
- Joined: Wed Nov 04, 2015 4:31 pm
- Contact:
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1224 :
It is doing exactly that i.e. changing the value of j and then doing the comparison. j is 10 but the comparison is happening between 1 and 9. Please go through the explanation.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 46 guests