Automatic void initialization

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


Hello

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?

Thanks



More information about the Digitalmars-d mailing list