by codedokode · 1y ago · 0 comments
Note that rand() returns 32-bit value so you have to call it twice and merge the results to obtain a 64-bit pointer.
If forging pointers had defined behaviour, it would be impossible to use the language sanely or perform any kind of optimization.