3 ms·
It only switches to base 16 if there's a digit after the "x". For "0x", it would just parse 0.
by victorNicollet 11y ago
It only switches to base 16 if there's a digit after the "x". For "0x", it would just parse 0.
- missblit 11y agoAh thanks, I missed the isxdigit(s[2])