Y
Hacker News
new
|
ask
|
show
|
jobs
by
kyberias
4125 days ago
UB? I don't get the first one.
2 comments
pavanky
4125 days ago
Googled it. I think he means undefined behavior.
link
EpicEng
4125 days ago
Reading an uninitialized variable is UB.
link
barrkel
4125 days ago
Is it a local? I think the int declaration is for showing the type of x. It's just a code fragment as is.
link
EpicEng
4125 days ago
Fair point, we don't have context.
link