Example: unsigned

The following example loops through a string, str, in search of the first non-numeric character. The variable len is an unsigned type, because no negative values can be attributed to the length of a string.