a. Create an integer array of size 10 using malloc and populate it with random numbers between 500 & 1000.
b. Create another integer array of size 20 using calloc and populate it with random numbers between 1000 & 2000.
c. Append the contents of array created in (a) to the array created in (b).
d. Make sure to free up the memory wherever requested.