История изменений
Исправление utf8nowhere, (текущая версия) :
Каков размер массива из двух unsigned char когда CHAR_BIT == 16? Те самы четыри байта
sizeof(unsigned char[2])
== 2 * sizeof(unsigned char)
== 2
. The sizeof
operator yields the number of bytes occupied by a non-potentially-overlapping object of the type of its operand, так что размер массива из двух unsigned char два байта.
Исходная версия utf8nowhere, :
Каков размер массива из двух unsigned char когда CHAR_BIT == 16? Те самы четыри байта
sizeof(unsigned char[2])
== 2 * sizeof(unsigned char)
== 2
. The sizeof
operator yields the number of bytes occupied by a non-potentially-overlapping object of the type of its operand, так что размер массива из двух unsigned char два байта.