I am trying to convert integer into character. I know how to convert character to integer like this int(a) where a is a character. But when I am trying to convert integer to character, it is giving me a symbolic value. Please help me out. 
I am doing something like below. Thanks in advance.
int a=0;
char str1[20];
for(int i=0;i<size;i++)
   //somecalculation that sets value in a everytime and stores in str1 
   str1[i]=char(a)-'A'
Well I am running for loop and setting values in str1. This is just little of my code.
 
     
    