C's rand function is surprisingly predictable
Nothing is truly random, especially not a lazy algorithm. The default 'rand()' function in C uses a very basic mathematical sequence that repeats itself so predictably you can calculate exactly what the 'random' number will be.

Keep exploring facts in this topic.
Technology →




