Array size

lloyddean:
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.

Huh??? I'm lost. Are you speaking about my example? I thought it was ok, as nick mentioned.