in which of the following sentence are the pronoun and antecedent not in agreement

Answer: B
Explanation:
Student can apply to either gender, and her is strictly female. The proper sentence would be “A student should always keep their password a secret.”