Ranged of signed integer

At around 22:30 min, I think the faculty is talking about range of signed integer rather than unsigned ( which he is quoting in the video lecture). Also I have a doubt why range in negative side equal to -2^31.
How the range in the negative side is calculated?

hey @great
Yes unsigned cannot have negative values ,Sir is talking about signed integer range at that time he by mistake mentioned unsigned there multiple times.
so there are 32 bytes which contains both positive as well as negative nos so tat means we have one bit for sign and 31 bits for nos
now there are 2^31 nos that means
So there are 2^31 positive nos and 2^31 negative nos
so from -2^31 to 2^31 -1 (-1 because we start from 0)

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.