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