for( auto &row : arr) {
for(auto col : row)
cout << col << " ";
cout<<endl;
}
//this way you can print your array row by row
for (int i = 0; i < row; i++){
for (int j = 0; j < column; j++){
cout << array[i][j];
}
}
//this way you can print your array column by column
for (int i = 0; i < column; i++){
for (int j = 0; j < row; j++){
cout << array[i][j];
}
}
for(int row=0; row<=3; row++){
for(int col=0; col<=2; col++){
Serial.print(buff[row][col]);
delay(200);
}
Serial.println();
}