fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. char c='A';
  7. cout<<"c="<<c<<endl;
  8. int C=c+20;
  9. cout<<"C="<<C<<endl;
  10. c=C-20;
  11. cout<<"c="<<c<<endl;
  12. return 0;
  13. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
c=A
C=85
c=A