example of char conversion to int