Solving Problems Using Array Functions In C