Re:I Do Not Know C: Short quiz on undefined behavior (2015)
by msbarnett on Tuesday February 14, 2017 @12:25AM
(#13641374)
That's the opposite of what he wants. He wants a compiler that produces a translation which derefrences the null and follows the true branch.
He wants null to equal a valid addressable address, which is completely nonstandard and not portable to everywhere C is used, to be standard that portable compilers emit code for.
He wants to imagine that null and zero are the same thing.
He wants null to equal a valid addressable address, which is completely nonstandard and not portable to everywhere C is used, to be standard that portable compilers emit code for.
He wants to imagine that null and zero are the same thing.