Answers for "c++ print 2darray"

C++
0

print 2d array c++

for( auto &row : arr) {
    for(auto col : row)
         cout << col << " ";
	cout<<endl; 
}
Posted by: Guest on April-04-2021

Browse Popular Code Answers by Language