|
-
February 12th, 2005, 11:39 PM
#14
Re: is ++i faster than i++?
Re FAQ
The reason is that (for most common implementations of) postfix operators retain a temporary copy of original variable and because the return value is returned by value, not by reference.
Why is it necessary to retain a temporary copy of the original variable ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|