fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main () {
  5. int a = 20;
  6. int b;
  7.  
  8. b = a++;
  9.  
  10. cout << b << "\n" << a;
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 4396KB
stdin
Standard input is empty
stdout
20
21