The correct answer is (A) "to invite." The phrase "It gives him immense pleasure" is followed by the infinitive form of the verb "to invite," which indicates the action that brings pleasure. Thus, the correct answer is (A).