I am trying to find out the size of an array like this:
String days[3] = { "Mon", "Tue", "Wed" };
Serial.printf("Size of array: %2d\n", sizeof(days));
for (int i = 0; i < sizeof(days); i++) {
Serial.print(days[i]);
}
The result of the code above is 36 which is incorrect.
Do I have any other options considering that I don't know the size of the array to begin with?