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