Explanation of a statement by its result

Viewed 1356

I know, 42 is the answer to everything but how the heck is 42 the result of this?

int x = -(~'+'|0xAB^1337); //42
4 Answers
Related