Question: Define a function F1 that takes a 1D array of integers A and a 3x2 two-dimensional array array of integers B as a formal parameters
Define a function F1 that takes a 1D array of integers A and a 3x2 two-dimensional array 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
To solve this you need to create a function F1 that takes a 1D array and rearranges it into a 3x2 2D ... View full answer
Get step-by-step solutions from verified subject matter experts
