3 ms·Reading an uninitialized variable is UB.by EpicEng 12y agoReading an uninitialized variable is UB.barrkel 12y agoIs it a local? I think the int declaration is for showing the type of x. It's just a code fragment as is.EpicEng 12y agoFair point, we don't have context.