Größe eines Arrays als Funktionsparameter ermitteln

Ich verstehe dich nicht?

Was soll mit der 55 passieren?

constexpr size_t arrayCellCount(const auto &array)
{
  return sizeof(array)/sizeof(array[0]);
}

void setup() {
  Serial.begin(9600);

  int myInts[] = {1, 50, 500, 700};
  Serial.println(arrayCellCount(myInts));
}

void loop() 
{

}