Seemingly simple question, but haven't been able to find an answer on SO or in the C standard. Question is whether a va_list must be the last parameter to a function in C (presuming, of course, the function takes a va_list as a parameter).
For example, is this safe?
int f(int a, char *b, va_list args, char *c);
or does it have to be the following
int f(int a, char *b, char *c, va_list args);