null [re: spec#]

Jussi Jumppanen jussij at zeuseedit.com
Sun Nov 7 22:17:09 PST 2010


so Wrote:

> Not related to this but i have to share.
> Try compiling this in C/C++.
> 
> int i = i + 5; // something like this.

void main()
{
    int i = i + 5; // something like this.
}

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

test.c
c:\temp\test.c(3) : warning C4700: uninitialized local variable 'i' used


More information about the Digitalmars-d mailing list