print two dimensional arrays c++ code example
Example: print 2d array c++
for( auto &row : arr) {
for(auto col : row)
cout << col << " ";
cout<<endl;
}
for( auto &row : arr) {
for(auto col : row)
cout << col << " ";
cout<<endl;
}