Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What variable is obtained after dividing the char variable?
What variable is obtained after dividing the char variable?

Char variable is a signed one-byte integer variable.

After the division operation between char variable and char variable, the result is a char type quantity, or a one-byte integer quantity.

For example: char a=10, b=126;

printf("%d", b/a); outputs 12.

For example: char a=10, b=129;

printf("%d", b/a); output -12.