Yes, that's what I'm getting. That makes sense though. I'm wondering if I'm misunderstanding what is being asked, because I haven't seen anyone else having this problem. The question is
"Now, print the decimal (base 10) values of adding one to each variable containing the maximum numbers and subtracting one from the variables containing the minimum values (even zero for unsigned)."
Is there something I am misreading in this?
Yes, that sounds right.
It's just a matter of how the binary values which are used internally are interpreted as either a positive or negative number. So yes, the largest positive number will overflow to give the largest negative number (when using signed values).
Look at it in terms of the binary values - using just 3 bits here: