1. Write a function that takes an integer array and the array's size as parameters. The function will check if the array is sorted. If it is, it will return a 1. If it is not sorted it will return 0. The function should not sort the array.
2. Write a functions that takes a string as its only parameter.It then sorts the charcters in the strings in alphabetical order. Since a string is passed by reference there is no need to retun the string. Note: a string is simply an array of characters with an additional element at the end. Thus if the string has ten letters the size of the character array is eleven. The first letter is still index 0 and so on.