Y
Hacker News
new
|
ask
|
show
|
jobs
by
vorhalas
3785 days ago
No, _arg's initializer would not work in C89 if any of the arguments was not a constant.
void f() { // line below is bad C90, but good C99 int array[2] = {g(), h()}; }
from
http://www.drdobbs.com/the-new-c-declarations-initialization...