Question: Please write the correct C++ function and main Given a multi-dimensional array of integers, print all its elements. You may assume that the dimensions are
Please write the correct C++ function and main
Given a multi-dimensional array of integers, print all its elements. You may assume that the dimensions are 10x10, as in the signature. Elements should be printed by row, with a space separating elements on a row, and a newline separating rows (use std::endl). The function must be placed in a file named function-1-1.cpp. You must also write a main function and place it in a file named main-1-1.cpp. Signature: void printer(int array[10][10])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
