Check out example codes for "casting an int to a char in c". It will help you in understanding the concepts better.

Code Example 1

Use ASCII chart.
int i=65;
char ch;
ch= (char)i;
printf("Expected value of ch: A. This value is found by using a ASCII chart");

Learn ReactJs, React Native from akashmittal.com