Richard said:
Did you see static there?
Do you not know what he means? It is a shorthand for an "object with
static storage duration". In other contexts you like non-standard
shorthand. For example, you've argued in favour of "global variable"
even though it has no exact meaning in C.
What total nonsense guaranteed to confuse the newcomer. It is almost
100% certain that these pointers do indeed have the VALUE 0 stored in
them if they are initialised to null pointers.
That is very similar to what he said except you have gone for "almost
100% certain" over Martin's "may well have". Personally, I would have
pointed out, much more clearly, that '0' and 0 are probably different
whereas '\0' and 0 are not but that does not seem to be what you are
complaining about.
Don't believe me? Look in
the debugger
In simple cases the debugger will give a simple answer, but the hard
cases to understand are where pointers are not simply numbers (like on
an old PC). In these cases the debugger has to invent a notation for
an address and that might be more confusing than being clear about
what a null pointer is in the first place.
.... Not static or specifically initiliased then yes random
values are possible.
Stop trying to confuse new comers with your ridiculous
oneupsmanship.
I think the fact that the OP had written '0' could have been pointed
out more clearly, but to attribute a complex intent like oneupmanship
to the answer is unfounded. A programmer I know well (and can
therefore comment on their intent in such matters) is so painfully
literal that they would not be able to answer a question in any way
but exactly as it was asked. There is, however, absolutely no
maliciousness in it at all -- they have an almost child-like
inability to see what might have been intended. I have no idea about
Martin's motivation or intentions -- my point is that it is almost
always unwise to try see intentions behind posts.
(And, yes, I know Just Plain Richard often posts inflammatory remarks,
but I will try hard not to get inflamed.)