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 <= n <= 30
unsigned int i,j,mask;
double s;
Something like this.
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 <= n <= 30
unsigned int i,j,mask;
double s;
Something like this.
An unsigned int
in C is a data type which has a non-negative value. (Eg. 0,1,2,3,4...)