c int to char using ascii code example Example 1: int to char in c c = i +'0'; Example 2: how to transform a char to ascii code in c int a_as_int = (int) 'a';