“Seek knowledge from the cradle to the grave”
#include<iostream.h> #include<stdio.h> #include<conio.h> int main() { char ch; cout<<"\nEnter any character : "; cin>>ch; cout << "ASCII Value of " << ch << " is " << int(ch); return 0; }
cout << "ASCII Value of " << ch << " is " << int(ch);
No comments:
Post a Comment