LINUX.ORG.RU

История изменений

Исправление bormant, (текущая версия) :

Цитата из стандарта C23 (N3054)

6.3.2.1.3
Except when it is the operand of the sizeof operator, or typeof operators, or the unary & operator or is a string literal used to initialize an array, an expression that has type «array of type» is converted to an expression with type «pointer to type» that points to the initial element of the array object and is not an lvalue.
If the array object has register storage class, the behavior is undefined.

Исправление bormant, :

Цитата из стандарта C23 (N3054)

6.3.2.1.3
Except when it is the operand of the sizeof operator, or typeof operators, or the unary & operator or is a string literal used to initialize an array, an expression that has type «array of type» is converted to an expression with type «pointer to type» that points to the initial element of the array object and is not an lvalue.
If the array object has register storage class, the behavior is undefined.

Исходная версия bormant, :

Цитата из стандарта C23 (N3054)

6.3.2.1.3
Except when it is the operand of the sizeof operator, or typeof operators, or the unary & operator or is a string literal used to initialize an array, an expression that has type «array of type» is converted to an expression with type «pointer to type» that points to the initial element of the array object and is not an lvalue.
If the array object has register storage class, the behavior is undefined.