C does not support this feature for bare arrays in general.

In the specific case of fixed-size arrays on the stack, it may be possible using templates, but that's really more of a curiosity than...