Hacker News new | comments | show | ask | jobs | submit login

From http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf: point 7: “If the keyword static also appears within the [ and ] of the array type derivation, then for each call to the function, the value of the corresponding actual argument shall provide access to the first element of an array with at least as many elements as specified by the size expression.”

So, it was added in C11?

UPDATE: Thanks. The 2005 date on the linked document threw me off.

No, C99 – this is the the C99 standard with corrigenda TC1, TC2, and TC3 included.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact