3 ms·
> Parameters to sizeof are not evaluated Oh, but they are ;) Try running sizeof on a VLA sometime.
by saagarjha 7y ago
> Parameters to sizeof are not evaluated
Oh, but they are ;) Try running sizeof on a VLA sometime.
- _kst_ 7y agoThe argument to sizeof is evaluated if and only if it's of a variable length array type. (If it's a parenthesized type name, it's unclear what it means to "evaluate" it.)
- userbinator 7y agoNumber 24 on the list shows exactly this.