Is *i++; a valid ISO/ANSI c++ statement?

Started by
20 comments, last by GameDev.net 21 years ago
i++ is the same as i = i+1

...

DigiCode - My solo company in progress.
_________________Politics is the ability to foretell what is going to happen tomorrow, next week, next month and next year. And to have the ability afterwards to explain why it didn't happen. -- Winston ChurchillGDNet-0.2 - rate users the easy way with this nifty Firefox extension. Updated with new features.
Advertisement
++ is not an lvalue, although *++ can be an lvalue. ++ ++ is not legal.


one-line strcpy():
while( *dst++ = *src++ );

This topic is closed to new replies.

Advertisement