return corresponding character from integer c++ code example Example: c convert char to int int i = (int)(c - '0');