, " ". ; , -
.
( , "" - .)
int. , , . arr[i], ; unsigned int long long, .
, , char , , . " " , , , int, int unsigned int. , , int.
If your implementation has a simple signed char, and if the value turns out to be negative, then it will be raised to a negative value int, which is probably not what you want. In your particular case, you say that the values are in the range of 0 to 80, all of which are in the range of positive values of the type char. But in case your requirements change later, you better define your array with the element type unsigned char.
source
share