How to convert an ASCII character into an int in C
Are you searching for this:
int c = some_ascii_character;
Or just converting without assignment:
(int)some_aschii_character;
What about:
int a_as_int = (int)'a';
Are you searching for this:
int c = some_ascii_character;
Or just converting without assignment:
(int)some_aschii_character;
What about:
int a_as_int = (int)'a';