minus-squareMrMagnesium12@feddit.detoProgrammer Humor@lemmy.ml•Call the Priestlinkfedilinkarrow-up1·1 year agoint val = 3; bool is_odd = val & (decltype(val))0x01 == (decltype (val))1; linkfedilink
int val = 3; bool is_odd = val & (decltype(val))0x01 == (decltype (val))1;