Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
EpicEng
11y ago
0 comments
Share
Reading an uninitialized variable is UB.
undefined | Better HN
0 comments
default
newest
oldest
barrkel
11y 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.
EpicEng
OP
11y ago
Fair point, we don't have context.
j
/
k
navigate · click thread line to collapse