#include using namespace std; int main() { int i = 5; // i is declared and assigned the value 5 i = i + 1; // i is assigned the new value of "old i" + 1 cout << i << "\n"; // The ++ operator increments by 1. // i++ uses then increments (postfix) cout << i++ << ", " << i << "\n"; // whereas ++i increments then uses (prefix) cout << ++i << ", " << i << "\n"; // i += 5 means same as i = i + 5 i += 5; cout << i << "\n"; cout << "\n\n"; system( "PAUSE" ); // system( "PAUSE" ) is system dependent return( 0 ); }