This example is bad. Don’t do this:
#include <iostream>
using namespace std;
int main() {
int n = 1;
cout << ++n * ++n << endl;
}
Don’t do this, either:
#include <iostream>
using namespace std;
int main() {
short nums[] = {1, 2, 3, 4};
short *p = nums;
cout << *p++ << ' ';
cout << *p++ << '\n';
p = nums;
cout << *p++ << ' ' << *p++ << '\n';
}