Sep 23

By simply casting it to an int.


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

written by objects \\ tags: , ,


Leave a Reply

You must be logged in to post a comment.