Re:Deconstructing "K&R C"
by chc on Tuesday January 10, 2012 @03:46PM
(#3448925)
I think you're mentally substituting "&&" with "||", in which case the assert would never fail because the string "memory error" is never 0. But with &&, the assert will fail when it should and the "memory error" is just a superfluous comment, not a bug.
[ Parent
| on HN ]