Re: printf("%d",float)



Philip Potter said:

Richard Heathfield wrote:
Jack Klein said:


<snip>

Of course, dereferencing that pointer
is completely undefined.

Right, which is why I consider the conversion meaningless.

So conversion to void * is always meaningless, because no void * can be
dereferenced?

Um, er... :-)

Okay, so that's an exception. But I think that, in general terms, it's
still a reasonable rule of thumb.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.



Relevant Pages