News for hackers. Stuff that matters.
Re:New C features in GCC 13 by _kst_ on Thursday May 04, 2023 @09:05PM (#35824144)
The representation of an object is determined by how the object itself is defined.

An initializer doesn't change that. It only affects the value stored in the object when it's created.

A special case exception is that an array object defined with empty square brackets gets its length from the initializer, so

    char word[] = "xyz";
is a shorthand for, and is exactly equivalent to:

    char word[4] = "xyz";

There are no comments on this comment yet.