On 2025-11-18 13:10, Collin Funk wrote:
did pre-standard C not allow initialize variables upon declaring them?
It did, but there were restrictions. Even in C89, initializer lists for aggregates or unions could contain only constant expressions.
On 2025-11-18 13:10, Collin Funk wrote:
did pre-standard C not allow initialize variables upon declaring them?
It did, but there were restrictions. Even in C89, initializer lists for aggregates or unions could contain only constant expressions.