fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int c = 10;
  6. if(c++>10) cout<<"tak c: "<<c<<endl;
  7. else cout<<"nie c: "<<c<<endl;
  8. c=10;
  9. if (++c>10) cout<<"tak c: "<<c<<endl;
  10. else cout<<"nie c: "<<c<<endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
nie c: 11
tak c: 11