1. String copy 25 Write a function that return a copy of the given string. The prototype of the function would be char *strcopy(char *src) Take care of the trailing '\0' character. 2. Flights option 50 Write a program which takes a time of day, t, from the user, queries a known flight databse to output 2 flights with departure times closest to the time provided by the user - one flight departing just before time t and other one just after t. Each flight has a flight number and there are at most 10 flights. That is flight nos range from 0-9. The departure and arrival times are stored in two separate int arrays - dep[] and arr[], such that flight with flight no. i has departure and arrival time stored at dep[i] and arr[i] respectively. Use the number of minutes elapsed since midnight as the measure of time. For e.g. if user inputs the time 15:45, then the program should treat it as 15*60+45 = 945mins. The flight times should also to be stored in this format. The code should print the arrival and departure times of the two flights in 24hr clock format alongwith their flight nos in separate lines. The prototype of the function should be void getFlights(int time, int *dep, int *arr) Output is printed in this function itself. Sample Input/Output for a 5 flight database: dep[] = {540, 720, 1050, 1260, 930} and arr[] = {660, 870, 1200, 1410, 1080}. (flight 1 takes 2hrs, flight 2 takes 2.5hrs and so on) If the user inputs the time 15:45, the output shall be flight 4 dep-15:30 arr-18:00 flight 2 dep-17:30 arr-20:00 3. Removal of duplicates 25 Write a program that takes an integer array a of size 15 from the user as input. The array may have multiple occurrences of elements. You have to remove the multiple occurences of elements and store the distinct elements in a new array. Use pointers to traverse the array elements in both the arrays. For example, if array a: 3 4 5 1 4 5 2 4 6 4 2 5 6 3 5 then the new array: 3 4 5 1 2 6