{}
run-icon
main.cpp
#include <iostream> using namespace std; int main() { int x=10; int *p=&x; cout << (*p)++ << " " << x << "\n"; cout << ++(*p) << " " << x << "\n"; cout << *p++ << " " << x << "\n"; }
Output