i cant ACTUALLY dis-agree with any of that. BUT
Quote:
if you assign ((void*)0x00000000) to a pointer, the pointer will point to an empty memory address and therefore the pointer will indeed be invalid as it points to 'nothing'.
True, but if you assign 0 to a 'pointer', it will be expecting an address because its a pointer, not a value.
So it will look for (implied)address (0) and find the same as ((void*)0x00000000).


Quote:
Therefore the compiler won't know what it actually works with
Yes, but I would re-phrase this as "...the compiler won't CARE what it actually works with..."


Quote:
the compiler will most likely assume that both sides of the operation have the same type
No. The compiler WILL assume that both sides have the same type as the LEFT side of the operation.
Again, its a programming 'standard'(?) called "implied typecasting".


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial