2 ms·
Yes, 'a += 1' can have undefined behaviour in C when you use signed integers. (And perhaps also with floats? I don't remember.) Your original comment didn't
by eru 2y ago
Yes, 'a += 1' can have undefined behaviour in C when you use signed integers. (And perhaps also with floats? I don't remember.)
Your original comment didn't specify that you want to talk about unsigned integers only.