Unsigned integer

Why unsigned integer range contains negative integers too?
Unsigned integers contain positive values and signed contains both positive and negative. Isn’t it wrong in the lecture?

@apoorvagupta1 can you point out the timestamp you are referring to? You can refer to this article for ranges https://www.geeksforgeeks.org/data-type-ranges-and-their-macros-in-c/

Hello @apoorvagupta1,

No, it doesn’t.
You can refer the following like to see the range of different data types:

there might be a mistake while shooting the video.
The range he has specified is for signed integers.

Hope, this would help.

Hey @apoorvagupta1,

Have you marked this doubt as unresolved?

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.