ASCII stands for American Standard Coding Information of Interchange.
It is used for the ASCII code of the character into an integer.
For Examples
'A' = 65
's'=114
ASCII table download for reference
program
#include <iostream>
using namespace std;
int main()
{
char ch;
cout << "Enter the any character" << endl;
cin >> ch;
cout << "The ASCII code of this character " << ch << " of " << int(ch) << endl;
return 0;
}
0 Comments