Hello People,
I cannot understand how this expression gets evaluated ..
1+~0
From what I know ~ has higher priority . So the expression becomes
1+(~0)= 2
But the answer that I got was 0. I know it is some thing to do with the fact that ~ is right associative but I cannot put my finger on it