Unsigned int range

sir you said that unsigned int store positve values the range should be 0 to 2^n-1,but you wrote the range is -2^n-1 to 2^(n-1)+1

@dkroy8790 yes you are right galti se bol dia hoga sir ne.

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.