单项选择题

The sentence "Had he known her address, he would have written to her" means that

A.he has known her address.
B.he knew her address.
C.he didn’t know her address.
D.he asked for her address.