Hi. ------- Code: #include<iostream.h> #include<conio.h> void main() { char ch=getch(); // cin.get() or getche(); cout << ch <<" = "<< (int ) ch; getch(); }