Re:Debunking the Google Interview Myth
by jwatzman on Tuesday January 04, 2011 @08:35PM
(#2069413)
When I was writing a malloc implementation for a class, I defined a value I used in place of NULL to terminate a structure sort of like a linked list. With debugging off, it actually was defined to NULL; with debugging on, it was defined to 0xDEADBEEF so that I could see the distinctive value when debugging.
[ Parent
| on HN ]
There are no comments on this comment yet.