Comment on C++ should be called ++C

<- View Parent
LambdaRX@sh.itjust.works ⁨1⁩ ⁨month⁩ ago

Postfix increments variable too, but as a side effect. in your code cout << i++ << endl; prints 10 which means, that i++ returned copy of unincremented i.

source
Sort:hotnewtop