how to convert an int into a char in c code example Example 1: turn a char into an int in c int x = character - '0'; Example 2: int to char in c c = i +'0';