#include <iostream>
using namespace std;
const int N = 5;
int main()
{
char str[N] = {'a','b','c','d','e'};
for (int i = 0; i < N; i++)
cout << str[i] << ' ' << (int)str[i] << ' ';
}
cout << endl;
system("pause");
return 0;
#include <iostream>
using namespace std;
const int N = 5;
int main()
{
char str[N] = {'a','b','c','d','e'};
for (int i = 0; i < N; i++)
{
cout << str[i] << ' ' << (int)str[i] << ' ';
}
cout << endl;
system("pause");
return 0;
}