单项选择题

The residents,()had been damaged by the flood, were given help by the government.

A. all their homes
B. all of which homes
C. all of whose homes
D. all of their homes