#include <iostream>using namespace std; int main() { string s= "09"; s[1] += int(s[1]-'0')+1; cout<<s<<endl; return 0;}
Standard input is empty
0C
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!