Equation of circle,
x2+y2−2x+2y−2=0...(i)
General equation of circle,
x2+y2+2gx+2fy+c=0....(ii)
Comparing equation (i) and (ii),
2g=−2⇒g=−1
2f=2f=1
c=−2
Centre of circle =(−g,−f)=(1,−1)
Radius of circle =√g2+f2−c
=√(−1)2+(1)2−(−2)
=√12+12+2=√1+1+2
=√4=2
Line y=c touches circle at point (1,1)
1=c⇒c=1
Thus, value of c is 1.