2 ms·
gizmo686's comment [1] explains the subtle difference: > [...] The technicality of the memset example is that it does not set the bits of the pointer by referr
by uryga 8y ago
gizmo686's comment [1] explains the subtle difference:
> [...] The technicality of the memset example is that it does not set the bits of the pointer by referring to it as a pointer, so the requirement that 0 behave as if it was a null pointer does not apply.
[1] https://news.ycombinator.com/item?id=19767316 https://news.ycombinator.com/item?id=19767316