by david2ndaccount · 6y ago · 0 comments
void foo(size_t length, char (*x)[length]){ size_t size = sizeof(*x); assert(size == length); printf("sizeof(*x): %zu\n", sizeof(*x)); }