how to transform a char to ascii code in c
snippet in c

how to transform a char to ascii code in c

user8821

int a_as_int = (int) 'a';