As this is valid, but only useful as documentation:
void foo(const int n, const char data[n])
Is this also valid? void foo(const int n, const char data[static n])