LWN.net Logo

What every C Programmer should know about undefined behavior

What every C Programmer should know about undefined behavior

Posted May 16, 2011 17:43 UTC (Mon) by ledow (guest, #11753)
In reply to: What every C Programmer should know about undefined behavior by cfischer
Parent article: What every C Programmer should know about undefined behavior #2/3

I have to agree - that's how I'd write it.

But then, I'd also explicitly use NULL too, rather than 0.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds