DATATYPE AND RANGE

good morning sir/madam
in tis video told if 2 bytes then range is (-2) power 2 to 2 power 2 -1 but in 4 bytes -2 power N-1 to (2 power N-1 )-1
for unsigned int but in unsigned int stores positive value not negative
please tell me unsigned and signed integer value

hey @vishal_sangal_123
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)

And for unsigned int we have 0 to 2^32-1