30th Dec 2024, 1:24 AM
𝓐𝓭𝓲𝓽𝓲⚝
𝓐𝓭𝓲𝓽𝓲⚝ - avatar
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
30th Dec 2024, 1:45 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar