Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What does ~~~~~~5 evaluate to?

What does ~~~~~~5 evaluate to?
a) +5
b) -11
c) +11
d) -5

Answer: a
Explanation: ~x is equivalent to -(x+1).
~~x = – (-(x+1) + 1) = (x+1) – 1 = x
~~x is equivalent to x
Extrapolating further ~~~~~~x would be same as x in the final result.
x value is given as 5 and “~” is repeated 6 times. So, the answer for “~~~~~~5” is 5.

Join The Discussion