#include <array>
using MyArr = std::array<std::array<int,2>,2>;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
MyArr arr = {{{1,2},{3,4}}};
myf(arr);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}
void myf(MyArr a)
{
Serial.println(a[1][1]);
}