Subject: Re: shutdown(8) Heisenbug?
To: Frederick Bruckman <email@example.com>
From: Dave Huang <firstname.lastname@example.org>
Date: 09/30/1999 02:22:26
On Thu, 30 Sep 1999, Frederick Bruckman wrote:
> That is what I'm saying, that you should never rely on the value of an
> uninitialized variable. At least, that's what I always thought. I
> think maybe variables are automatically initialized to zero in C++ and
> Java, but not C.
Static variables and global variables are automatically initialized to
0... automatic variables aren't initialized to anything, and must be
initialized before you do anything with 'em.