3 ms·
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 arra
by vorhalas 11y 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-initializations/184401377 http://www.drdobbs.com/the-new-c-declarations-initialization...