Question: Write down the GetIddDataAsArray function to get the odd numbers from a given array AS ANOTHER ARRAY accordibg to given prototype and calculate its Big
Write down the GetIddDataAsArray function to get the odd numbers from a given array AS ANOTHER ARRAY accordibg to given prototype and calculate its Big O value.Justify yout answers.Answers will be implementation and proper explanation.
For ex. if the given array contains
4 2. 3. 1. 8. 7. 10. 9. 6. 5
Your function will return
- 1. 7. 9. 5
as a new array without destroying ot corrupting the original one!(Think abut all cases !)
C PROGRAMMING
int* GetOddDataAsArray(int arr[],int size);
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
