Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

MS Visual C initializes it to 0xCCCC so it's easy to spot. It helped me find a few errors.


Also 0xCC is the breakpoint opcode (INT3) on x86 architecture, so if the program were to start executing at that point, the debugger would be notified (or probably an immediate application crash if no debugger attached).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: