Thread: I don't get it
View Single Post
Old Apr 26th, 2005, 10:39 AM   #3
STLFBr1
Newbie
 
Join Date: Apr 2005
Posts: 15
Rep Power: 0 STLFBr1 is on a distinguished road
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.
STLFBr1 is offline   Reply With Quote