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