Hi everyone
This is a REALLY silly question but:
if I declare an array like this:
I get a one dimensional array of uint8_ts...Code:uint8_t myArray[5];
0
0
0
0
0
If I declare a two dimensional array like this:
Does this create an array with two rows in it?Code:uint8_t myArray[5][1];
0 0
0 0
0 0
0 0
0 0
So if I declare a two dimensional array like this:
0 0 0Code:uint8_t myArray[5][2];
0 0 0
0 0 0
0 0 0
0 0 0
and so on...
The bit that is confusing me is that the first location in an array is zero, therefore if I had an array width of 1 does this mean I get two rows in the array or just one?
Thanks to anyone who can clear this up
D