r/programminghumor • • Feb 11 '26

Array is syntax error

Post image
444 Upvotes

46 comments sorted by

View all comments

Show parent comment

1

u/realestLink Feb 12 '26

It's technically always UB per the C standard. Every major compiler allows it if you use -fno-strict-aliasing tho, in which case, yeah, it's representation/architecture dependent