In this program i have put numeric value in char variable. Trying to observe what happens when using %d and %c specifier.
void main()
{
char ch=23;
printf("value:%c",ch);
getch();
}
here when i use %d i get value:23
when i use %c i get some odd char.
why the result is different for both cases?