单项选择题

All flights ______ because of the terribly bad weather, the passengers had to wait at the airport.

A.had been cancelled
B.having cancelled
C.having been cancelled
D.were cancelled