Find Minimum And Maximum Element In An Array Using Function In C