Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
andrewmcwatters
1y ago
0 comments
Share
Uninitialized variables are a really common case.
0 comments
default
newest
oldest
gmueckl
1y ago
The pointer to the uninitialized variable is passed to scanf, which writes a value there unless it encounters an error. The compiler cannot understand this contract from the scanf declaration alone.
j
/
k
navigate · click thread line to collapse