by hoppelhase · 7y ago · 0 comments
void foo(const int n, const char data[n])
Is this also valid? void foo(const int n, const char data[static n])I've used this in code compiled with gcc and clang. Both accept this construct, but I'm not sure how effectively any compiler is able to use this information to emit warnings/errors.