Can Someone explain me what this line of code means
-(char)((unsigned char) ~0 >> 1) - 1);
I don't know why the writer used a " - " in front of char and the -1 in last. I know that the ~0 will turn all the bits to 1 and then right shift will shift it once so that a zero comes up in front.