I am trying to understand the two declarations below. Will the first line just store a -1 in the 41st element of the array OutpinArray?
Does the same thing occur for the second line but, the array is made up of unsigned 32-bit elements?
The first element in the array will be -1, and the rest will be 0.
The array's only got 40 elements so there is no 41st element.
The difference between the two arrays is that the first one store 40 values of type Byte (whatever that is) while the second one store 40 values of type Unsigned long (how many bits that is depends on your compiler).