I don't know the exact mechanism... you stand a better chance of seeing it in Pelles Debugger than me guessing right...

However, playing with uninitialized variables --no matter what kind, no matter where-- is playing with fire.

I once saw the perfect definition of "Undefined Behavior"...
"Your program will work perfectly until the day you show it to your boss."