How would we find the number of elements in an Array called myArr?

int elements = sizeof(myArr);int elements = elements(myArr);int elements = sizeof(myArr) / sizeof(myArr[0]);int elements = myArr.length;

Sweet, to get the number of elements in an array we divide the size of myArr by the size of one element in myArr.

Drat, that's not right. To get the number of elements in an array we divide the size of myArr by the size of one element in myArr.