+ 1
Multi-Dimensional array question
In this code: https://code.sololearn.com/c0qD865Ho7RC/#cpp. EDIT( I realize that my array is off the column box should be two but I can not re-save the code) How do I console output all of the ints? Thank you for your help.
2 Answers
+ 1
for(size_t i = 0; i < 5; ++i)
for(size_t j = 0; j < 5; ++j)
cout << arr[i][j] << " ";