logoalt Hacker News

randomNumber7 • today at 3:51 PM • 1 reply • view on HN

> I do not get the connection with a VLA in this context

The article uses a struct with a VLA as the last element.


Replies

uecker • today at 4:01 PM

I see. This array of unknown length at the end of a struct is called a flexible array member and not a variable length array (although it also refers to an array of variable length it is a different language feature).

➕ show 2 replies