N
nroberts
Say I do this:
void fun(char buffer[2048]) ...
and then assume that any buffer I'm passed in will have 2048 bytes.
That's silly, right? At least with gcc I can pass in any size array
there. Pretty sure I recall C not being able to do this but that was
years ago before it started pulling in behavior from C++ where that
actually works.
void fun(char buffer[2048]) ...
and then assume that any buffer I'm passed in will have 2048 bytes.
That's silly, right? At least with gcc I can pass in any size array
there. Pretty sure I recall C not being able to do this but that was
years ago before it started pulling in behavior from C++ where that
actually works.