单项选择题

My friend was very unhappy for not ______ to the party.

A.inviting
B.to be invited
C.having been invited
D.having invited