Sep
08
|
By simply casting the char to an int.
char c = 'A'; int asciiValue = (int) c;
Leave a Reply
You must be logged in to post a comment.
CategoriesArchives
|
By simply casting the char to an int. char c = 'A'; int asciiValue = (int) c; Leave a ReplyYou must be logged in to post a comment. |
|