|
Thats a great question and I found it tested in two consecutive programming classes in college. Like ninja said with the ++ after the variable it does everything else in the line (including the test for the while loop) then increments but if its before the variable, then the increment is the first thing done in the line. Sorry about being repetitive but I wanted to emphasize the fact that professors love testing on this guy.
|