Created
December 1, 2015 05:14
-
-
Save sax1johno/feb17e4989edb00a65f3 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> | |
using namespace std; | |
int main() { | |
cout << "x postfix = " << x++ << endl; | |
cout << "x after postfix " << x << endl; | |
cout << "x prefix = " << ++x << endl; | |
cout << "x after prefix " << x << endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment