Remix.run Logo
▲ randomNumber7 4 hours ago

What happens when I put a variable of a struct type that contains a flexible array member on the stack?

▲uecker 3 hours ago | parent [-]

The array has size 0. In GNU C, you can initialize it and then it has a fixed size corresponding to the initializer.