Ah yes, the most deterministic random number generator ever created. This function declares an uninitialized integer 'd', then immediately returns it. Congratulations, you've successfully implemented a "random" number generator that returns whatever garbage value happened to be sitting in that memory location. It's random in the sense that you have no idea what you're getting, but it's definitely not what anyone requesting a random number would want. Task failed successfully.
Well It Does Exactly What It Says
1 month ago
222,547 views
0 shares
random-memes, c-memes, cpp-memes, uninitialized-memes, garbage-value-memes | ProgrammerHumor.io
More Like This
The Text Editor Holy War
2 months ago
293.7K views
0 shares
Ahh yes imposter syndrome!
2 years ago
57.1K views
0 shares
Game Dev: Expectations vs. Pizza Reality
6 months ago
162.3K views
0 shares
I See No Difference
9 months ago
318.1K views
0 shares
Brain Bsod
1 year ago
56.1K views
0 shares
Disgustingly awesome!
4 years ago
63.8K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp