value from int like char from string code example Example: c convert char to int int i = (int)(c - '0');