The correct option is C 72
The equation of the line y=x in distance form is xcosθ=ysinθ=r, where θ=π4.
For point P, r=6√2.
Therefore, coordinates of P are given by xcosπ4=ysinπ4=6√2⇒x=6,y=6.
Since P(6,6) lies on x2+y2+2gx+2fy+c=0,
Hence, 72+12(g+f)+c=0 ......... (i)
Since, y=x touches the circle, therefore the equation 2x2+2x(g+f)+c=0 has equal roots
⇒4(g+f)2=8c
⇒(g+f)2=2c ........ (ii)
From (i), we get
[12(g+f)]2=[−(c+72)]2
⇒144(g+f)2=(c+72)2
⇒144(2c)=(c+72)2
⇒(c−72)2=0⇒c=72
Hence, option 'C' is correct.