Question: In C Prog Create a program that: Reads in the number of rows (row), the number of columns (col), then uses those to initialize a

In C Prog
Create a program that: Reads in the number of rows (row), the number of columns (col), then uses those to initialize a 2D array. Then, initialize the elements of the 2D array with some random values. Create a void function called oddEvensplit() that takes in 3 parameters: int row: row size int col: col size int arr[row][col] : the 2D array In the function, loop through the 2D array and separate the values out into two different 1D arrays, one for odd numbers and one for even numbers. Print out the elements of each array in the function. Example Enter row: 3 Enter col: 4 Enter array elements: 3 4 5 6 1 2 4 6 5 9 48 Elements of odd array: 3 5 1 5 9 Elements of even array: 4 6 2 4 6 4 8 Note: you do NOT have to follow this input style
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
