Difference between unsigned and unsigned int in C

后端 未结 5 1426
野趣味
野趣味 2020-11-28 11:09

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

5条回答
  •  北海茫月
    2020-11-28 11:27

    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.

提交回复
热议问题