Hacker News new | ask | show | jobs
by caf 3452 days ago
sizeof isn't always a compile-time constant: if it's applied to variably-modified type, it's not (obviously).
1 comments

Oh, yes, I'd forgotten about VLAs... Compile-time constant, except for sometimes.