Comment by andrewmcwatters Comment by andrewmcwatters a day ago 1 reply Copy Link View on Hacker News Uninitialized variables are a really common case.
Copy Link gmueckl a day ago Collapse Comment - 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. Reply View | 0 replies
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.