void foo(int (*)[12]); void foo(int (*pointer_to_integer_array)[12]) { /* Huh. This actually works. */ } https://cdecl.org/?q=int+foo+%28int+%28*%29%5B12%5D%29%3B …
-
-
One nice use is to get a constraint violation if you try to call a function with wrong-size array argument.
-
Idiomatic pointer-to-first-element can't catch that, but pointer-to-whole-array-type can.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.