Question: Define a function F1 that takes a 1D array of integers A and a 3x2 two-dimensional array of integers B as a formal parameters and
Define a function F1 that takes a 1D array of integers A and a 3x2 two-dimensional array of integers B as a formal parameters and converts the 1D-array A into 2D-array B. For example, if the array A is equal to {1,3,1,2,2,5}, the array B should be { {1,3},{1,2},{2,5} }.
void F1(int A[6], int B[3][2])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
