I just heard there'll be a party for old students of the school.
私はその学校の昔の生徒たちのためのパーティがあると聞いた。
I went to the school twenty years ago.
私はその学校に20年前に通っていた。
この二つの文が関係代名詞によって一つの文につながれている。
I just heard there'll be a party for old students of the school [which/that] I went to twenty years ago.
私は、(自分が)20年前に通っていた学校の昔の生徒たちのためのパーティがあると聞いた。
そして、目的格の関係代名詞なので省略されている。 だから答えは C のI went to