2 ms·
I think it's defined to execute at least until overflow, is it not? (So, even assuming a 1-bit int, it's going to execute at least once I think.)
by sokoloff 5y ago
I think it's defined to execute at least until overflow, is it not? (So, even assuming a 1-bit int, it's going to execute at least once I think.)
- witty_username 5y agoNo, if your program ever invokes UB, anything could happen (even at the beginning). In other words, UB can time travel.
- sokoloff 5y agoIf the {…} includes a break, undefined behavior could well be avoided.