Let’s consider the following example:
/*C++ program to print ASCII value of a character*/
using namespace std;
cout<<"ASCII value of "<<x<<" is "<<(int)x<<endl;
ASCII value of A is 65
total answers (1)
start bookmarking useful questions and collections and save it into your
own study-lists, login now to start creating your own collections.