Locus of the foot of the perpendiculars drawn from the centre of the circle $x^{2}+y^{2}+2 g x+2 f y+2 c=0$ to its chords which subtend a right angle at the centre is
(a) $(x+g)^{2}+(y+f)^{2}=f^{2}+g^{2}-c$
(b) $(x+g)^{2}+(y+f)^{2}=\frac{c}{2}$
(c) $(x+g)^{2}+(y+f)^{2}=2\left(f^{2}+g^{2}-c\right)$
(d) $(x+g)^{2}+(y+f)^{2}=\frac{f^{2}+g^{2}-c}{2}$