Consider given below $n$ bit integer data which is expressed in sign $2’s$ complement notation
$K=\left ( a_{n-1} a_{n-2}....a_{1} a_{0} \right )$
The value expression of the $K$ in decimal is
$\left ( A \right )\sum_{i=0}^{n-2}a_{i}\times 2^{i}$
$\left ( B \right )\sum_{i=0}^{n-1}a_{i}\times 2^{i}$
$\left ( C \right )\left ( -2^{n-1} \right )\times a_{n-1}+\sum_{i=0}^{n-2}a_{i}\times 2^{i}$
$\left ( D \right )\left ( -2^{n-1} \right )\times a_{n-1}+\sum_{i=0}^{n-1}a_{i}\times 2^{i}$
I know that range of $2’s$ complement is $-2^{n-1}$ to $+2^{n-1}-1$
but no option getting match with it
right?