What kind of C11 data type is an array according to the AMD64 ABI
Bare arrays as function args in C and C++ always decay to pointers, just like in several other contexts. Arrays inside structs or unions don’t, and are passed by value. This is why ABIs need to care about how they’re passed, even though it doesn’t happen in C for bare arrays. As Keith Thomson points … Read more