Let the points be A=(2,2) and B=(3,3). Since, the circle passing through these points, so they satisfie the equation of the circle.
Now, taking option (b),
Let S≡x2+y2−5x−5y+12=0
At A=(2,2) 22+22−5(2)−5(2)+12=0 ⇒0=0
At B=(3,3) 32+32−5(3)−5(3)+12=0 ⇒0=0
Hence, option (b) is correct.