Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 24428

re: GUIDs are designed to be unique, not random

$
0
0

This gives me an idea for an interview question: using a rand() function with RAND_MAX = 32767, write a function which returns 1, 2, or 3 with equal probability.


Viewing all articles
Browse latest Browse all 24428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>