Hi,
I am having problem in converting an integer to character in the following program. It compiles but at run time there is no value in c.
Could anyone help me with the problem. It is very urgent.
int main()
{
int a = 3;
char c = (char)a;
printf("Conversion to char c = %c \n", c);
return 0;
}
What should i do to store integer 3 as character in c?