Created
November 17, 2016 14:23
-
-
Save sh4869/ae43d1cd8d3c11451c2748f1799a0688 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
int main(){ | |
int i1,i2; | |
i1 = i2 = 0; | |
std::cout << i1++ << std::endl; | |
std::cout << ++i2 << std::endl; | |
i1 = i2 = 0; | |
std::cout << i1++ + ++i2 + ++i1 + i1++ << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment