reading chars as ints into a c program code example Example: turn a char into an int in c int x = character - '0';