The correct option is B a circle
Let four sides of a square as, x=0,x=a,y=0,y=a
And let P(h,k) be the moving point.
Thus according to the given condition,
(k2)+(a−k)2+(h2)+(a−h)2=constant=2c(say)
⇒h2+k2−ah−ak=c
Thus locus of P(h,k) is x2+y2−ax−ak=c, which is clearly a circle.
Hence option B is correct choice.