8 ms·
No, if your program ever invokes UB, anything could happen (even at the beginning). In other words, UB can time travel.
by witty_username 5y ago
No, 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.