R
Richard Bos
av said:av said:Output:
[DS:0400]
Are you arguing that DS:0400 is an integer?
no but pointers are numbers,
Wrong. It is true that, if you take away all the parts of a pointer that are
not a number, then what remains (if anything) is a number. But that does
not mean pointers are numbers.
for the above example it should be a 16 bits x86 cpu
You don't know that.
"DS" should be a 16bits register.
You don't know that.
pointer i speak should be the 20 bits integer
You don't know that.
i don't "describe" i write "the definition"
You write bugger-all.
You can say it, but that doesn't make it true. If you want people to treat
your claim seriously, feel free to explain what part of the Standard, if
any, demonstrates that [DS:0400] is not a legal output for printf("[%p]\n",
p).
could be legal don't know
Exactly. You don't. In fact, you haven't the faintest clue about what
you're meddling with.
Richard