> since C doesn't ... check for overflows
Because it's a language, not an implementation. An implementation is free to do so (and there are such implementations after all).
Because it's a language, not an implementation. An implementation is free to do so (and there are such implementations after all).
void f(size_t n, int (*v)[n])
instead.