Nick Sabalausky wrote:
"Walter Bright" <[email protected]> wrote in message news:[email protected]...For example, assigning a random value to a pointer and then trying to read it is undefined behavior.How would the compiler be able to detect that? Or do you mean assigning an arbitrary value?
By disallowing casting an int to a pointer.
