Skip to content

Instantly share code, notes, and snippets.

@sh4869
Created November 17, 2016 14:23
Embed
What would you like to do?
#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