Hello:
? You understood it correctly, it is not assigning 5 to a, nor assigning the ASCII value of 5 to a, but assigning the character with ASCII value 5. Give a.
#include?
int?main()
{
char?a=5;
printf( "%c\5",a);//Output characters with ASCII value 5
}