C – Difference Between Unsigned and Unsigned Int

c++intunsigned

Could you please make it clear what the difference is between unsigned and unsigned int? Maybe some example code would be helpful.

Best Answer

unsigned is a modifier which can apply to any integral type (char, short, int, long, etc.) but on its own it is identical to unsigned int.

Related Question