undefined behavior. the standard does not define what uninitialized variables get set to, except in the case of static objects.