Integers, signed and unsigned in C
Sometimes, we know in advance that the value stored in a given integer variable will always be positive—when it is being used to only count things, for example. In such a case we can declare the variable to be unsigned, as in unsigned int num_students With such a declaration, the range of permissible integer values … Read more