I did the following operation: cout<<(~1);
I know that ’ ~ ’ is a NOT operation?
So, why it is showing ’ -2 ’ instead of 0?
I did the following operation: cout<<(~1);
I know that ’ ~ ’ is a NOT operation?
So, why it is showing ’ -2 ’ instead of 0?