#include <iostream> using namespace std; int main() { char ch = 'a'; int num = 5; cout << (char)(ch + num) << endl; return 0; }
'f'
102
a5
编译报错