0
Why does the output show ~a even though it is And'ed with 0x0f?
8 Answers
+ 2
Yeah it's printing ~a=1100
Where ~a =-4
and
0x0f is hexa decimal code of 15
And your c =12
And it prints 12th element of array ie 1100
:)
+ 1
~ swim ~ she is getting confused because of line 8 where she is printing "~a"
+ 1
Thank you
+ 1
It's ok, my actual program had 7 print statements invoving different bitwise operations. I just copied that one line because I was confused with that part. I'm learning so I don't mind even if my questions look a bit foolish, it's important to clarify so I don't really mind. đ
0
DIVYA T that's good đwe all are learning here