4 ms·
Please explain how that is UB?
by reza_n 9y ago
Please explain how that is UB?
- pacaro 9y agoUgh. Sorry autocorrect, should read “uninitialized variables”
- reza_n 9y agoIt is well understood that all variables need to be initialized. Most compilers consider uninitialized variables an error. So I would say someone running into this and possibly other UB scenarios is just a case of writing bad code.