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
2 months ago
279,157 views
0 shares
random-memes, c-memes, cpp-memes, uninitialized-memes, garbage-value-memes | ProgrammerHumor.io
More Like This
Congratulations, you are now a scheduled task
4 years ago
51.3K views
0 shares
That felt so on point.
2 years ago
53.4K views
0 shares
When Your Code Speaks Better German Than You
5 months ago
372.4K views
0 shares
Race Conditions: When Your Code Competes To Fail First
7 months ago
395.4K views
0 shares
Programming
3 years ago
65.1K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp