Hacker News new | ask | show | jobs
by kyberias 4125 days ago
UB? I don't get the first one.
2 comments

Googled it. I think he means undefined behavior.
Reading an uninitialized variable is UB.
Is it a local? I think the int declaration is for showing the type of x. It's just a code fragment as is.
Fair point, we don't have context.