logoalt Hacker News

pwdisswordfishq • today at 5:56 PM • 1 reply • view on HN

But you can also write int x = rand(); how is that special?


Replies

steveklabnik • today at 7:15 PM

"uninitialized" is not a synonym for "random value", it's a totally different state.

https://www.ralfj.de/blog/2019/07/14/uninit.html