[Solved] Why is it possible to store more than one characters in a “char” variable?


'\060' is a single character, in which 060 are octal digits, whose value is indeed 48 in decimal.

C11 §6.4.4.4 Character constants

octal-escape-sequence:

\ octal-digit
\ octal-digit octal-digit
\ octal-digit octal-digit octal-digit

solved Why is it possible to store more than one characters in a “char” variable?