Range of unsigned int

How unsigned int have negative value.The minimum range of unsingned int is given as -2^n-1.

@sakha0310,


It does not have negative values.

In the video it is told that minimum range of unsigned int is -2^(n-1). How is it possible. And Im not able to view the image u send.

@sakha0310,
Just google-“Range of Unsigned int c++”.

its showing unsigned int will not be negative. But in the video sir is telling the minimum range is negative. How is this possible

@sakha0310,
There may be some misunderstanding in the video, anyways as the name suggests unsigned int can not be negative.