Q: Can I declare a local array (or parameter array) of a size matching a passed-in array, or set by another parameter?
A: Historically, you couldn't, but in C99 (and in some pre-C99 compilers with extensions) you can. See questions 6.15 and 6.19.
Hosted by