10. (A) The expression !(max != a[i]) is equivalent to max == a[i], so the given expression is equivalent to a[i] == max || max == a[i], which is equivalent to a[i] == max.