单项选择题

Magnets in the binnacles of magnetic compasses are used to reduce the effect of().

A.deviation
B.variation
C.local attraction
D.All of the above