C Array Get Index Of Value