int anArray[2][3] = {{12, 13, 14}, {15, 16, 17}};
void setup()
{
Serial.begin(115200);
byte bytesPerEntry = sizeof(anArray[0][0]);
byte cols = (sizeof(anArray[0]) / bytesPerEntry);
Serial.print("cols : ");
Serial.println(cols);
byte rows = ((sizeof(anArray) / cols) / bytesPerEntry);
Serial.print("rows : ");
Serial.println(rows);
for (int r = 0; r < rows ; r++)
{
for (int c = 0; c < cols; c++)
{
Serial.print(anArray[r][c]);
Serial.print(",");
}
}
}
void loop()
{
}