Write a code to take integer input in 2 dynamic arrays as long as the user doesn't enter sentinel value. After you have finished taking input for one dynamic array start for the second. Their size depends on after entering how many elements the user enters the sentinel value and their size may be different. Now pass the 2 dynamic arrays through a function after which all the odd numbers of both arrays are in 1st dynamic array and all the even numbers of both the dynamic arrays are in 2nd array.