I have a code...
Expand|Select|Wrap|Line Numbers
- int t=0x40000006,y=0x000000ff,i=0x40000000,a=0xf0000000;
- cout<<(t&y);
- cout<<"\n";
- if(m1=i&&(t&y))
- cout<<"Here"<<i&&(t&y);
- if(h=((t&a)==(m1=i&&(t&y))))
- cout<<"here"<<h<<endl<<m1;
- cin>>x;
- }
here cout<<"Here"<<i&&(t&y); gives 0x40000000 as output
My question is 0x40000000 && 0x00000006 gives 0x40000000...Why??
Can anyone please explain.....