Okay, I've been thinking about how (variable)++ works for a while. This is what I'm thinking:
And this is my idea of how ++(variable) works:Code:(type) temp = (the_value);
(the_value) = (the_value) + 1;
return temp;
Am I right, or at least close to right? And if so, wouldn't (variable)++ be slower?Code:(the_value) = (the_value) + 1;
return the_value;