fork download
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int i = 2, k = 4;
  6. int a, b, c, d;
  7. a = --i - (k--);
  8. b = i;
  9. c = k;
  10. d= a;
  11. cout << a <<"\n"<< b<<"\n" << c<<"\n"<<d;
  12. system("pause");
  13. return 0;
  14. }
Success #stdin #stdout #stderr 0s 4584KB
stdin
Standard input is empty
stdout
-3
1
3
-3
stderr
sh: 1: pause: not found