|
From: Igmar P. <mai...@jd...> - 2005-10-18 07:31:24
|
> int main()
> {
> int uninit;
uninit is undefined here.
> int two = 2;
>
> uninit *= two;
this is uninit = uninit * 2;
As far as I can tell, the whole of uninit is undefined, so is the result
of the multiplication.
> if(!(uninit & 1)) // there should be no error here
> {
uninit still contains random data. Why shouldn't it give errors ?
Regards,
Igmar
|