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
3 months ago
375,445 views
0 shares
random-memes, c-memes, cpp-memes, uninitialized-memes, garbage-value-memes | ProgrammerHumor.io
More Like This
File Compression
4 years ago
59.8K views
0 shares
Imagine Spending Bag Of Money Just To Call Rand Int In Amultithreaded Loop
2 years ago
51.9K views
0 shares
Idiot proofing is a necessity
4 years ago
54.1K views
0 shares
Javascript Frameworks: Half Code, half Marketing
4 years ago
164.0K views
0 shares
threatened species
4 years ago
58.4K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp