4 ms·weak typing: 2 + "2" is 22by hoseja 2y agoweak typing: 2 + "2" is 22RUnconcerned 2y agocould also be "4" or 4! 4 seems like it would be the most evil option, honestlypjc50 2y agoThe real evil option is C: 2+"22" = 0, 4+"4" = undefined behavior and probably the value of some other variable.manwe150 2y agoI think you meant: "22"+2 = "", and it is not UB to make the second pointer, only to use ithoseja 2y agoThe pointer arithmetic works both ways, same as square brackets.sehansen 2y agoThe real horror is "1d9" + 1 = 2, as does PHP: https://3v4l.org/Dn6Sm https://3v4l.org/Dn6Smbaq 2y agoor the most sane, depending on context... e.g. awk and perl do this.