Better HN
topnewbestaskshowjobs
Log inSign up

powzapbiff

3 karma · joined Jul 16, 2015 (11y ago) · 2 submissions

Submissions

comment 7y ago · link · parent

The code:

const size_t buffer_size = 5; int buffer[buffer_size];

compiles fine in c, but not for the same reason. C99/C11 has dynamic arrays

https://en.wikipedia.org/wiki/Variable-length_array#C99

comment 11y ago · link · parent

The author mentions "kindof" but uses "__typeof" in code. Should really proof read before posting.