#include #include using namespace std; int main() { string first, second; cout << "Enter the string: "; cin >> first; if (first == "null") cout<< "you entered null for the string\n"; else { second = first; second += " END."; cout << "First is \"" << first << "\" Second is \"" << second << "\"" << endl; } for (int i=0;i<15;i++) cout << i << " : " << second[i] << " \t " << (hex) << (int) second[i] << endl; return 0; }