Sep 08

By simply casting the char to an int.

char c = 'A';
int asciiValue = (int) c;

written by objects \\ tags: , ,


Leave a Reply

You must be logged in to post a comment.