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/RedAndBlack1832 Feb 13 '26

Yeah but I wanna fuck with bits and it only really lets me do that with integer types (ideally unsigned ones)

1

u/realestLink Feb 13 '26

The "official" way to type pun portably is via memcpy (every major compiler will elide the copy)

1

u/RedAndBlack1832 Feb 13 '26

You know what, fair