1 Answer
+ 8
Unsigned int only have positive values. Assigning negative values compiler may misbehave.
using the signed int formatter (%d) instead if the unsigned (%u) that's why you don't see any error but it's not the actual value stored in x. Study about min max range of signed and unsigned and what happen if that value override the memory buffer