I have some code that I have to study and I'm not understanding what is a unsigned int and how it works.  void print_all_sums(unsigned int n,double a[n]) { // 1 &lt;= n &lt;= 30    unsigned int i,j,mask;    double s;   Something like this.
Am I correct to say the difference between a signed and unsigned integer is:  Unsigned can hold a larger positive value and no negative value. Unsigned uses the leading bit as a part of the value, while the signed version uses the left-most-bit to identify if the number is positive or negative. Signed integers can hold both positive and negative numbers.  Any other differences?
Am I correct to say the difference between a signed and unsigned integer is:  Unsigned can hold a larger positive value and no negative value. Unsigned uses the leading bit as a part of the value, while the signed version uses the left-most-bit to identify if the number is positive or negative. Signed integers can hold both positive and negative numbers.  Any other differences?