C Language If Statement With Two Conditions