Jak przekształcić char to kod ASCII w C

int a_as_int = (int) 'a';
Jolly Jay