fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a = 10;
  7.  
  8. int b = a++;
  9. cout << b << endl;
  10. cout << " a = " << a << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
10
 a = 11