Hacker News new | ask | show | jobs
by nostrademons 5623 days ago
That's not quite random, because you're selecting items with probability 1/RAND_MAX. The elements beyond RAND_MAX will never be selected.