Automatic void initialization

Fractal void at
Sun May 31 17:21:12 PDT 2009


if I have the following code:

int foo;
foo = 5;

When the variable foo is declared, it is initialized to int.init, or has garbage contents until it is assigned?


More information about the Digitalmars-d mailing list