News for hackers. Stuff that matters.
Re:Massacring C Pointers (2018) by edflsafoiewq on Monday September 21, 2020 @04:34AM (#24541069)
&a[3] is allowed, it's a one-past-the-end-of-the-array pointer. &a[4] would be UB (if it were evaluated).

sizeof(a[3]) is not evaluating a[3], so it also isn't UB.

There are no comments on this comment yet.