Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - char a=5, assign an integer to a character variable. I don’t understand what it means. Is it the number 5? ASCII code value can be
char a=5, assign an integer to a character variable. I don’t understand what it means. Is it the number 5? ASCII code value can be

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

}