Given the example who ever wrote that is mistaken.
buttonPin[7] = {13,12,11,10,5,9,6};
For all array of a single dimension the size is calculated as (sizeof(array)/sizeof(array[0]))
No trailing '\0' required.
Given the example who ever wrote that is mistaken.
buttonPin[7] = {13,12,11,10,5,9,6};
For all array of a single dimension the size is calculated as (sizeof(array)/sizeof(array[0]))
No trailing '\0' required.