The correct option is A a line passing through origin and (1,1)
|z−1|=|z−i|
z lies on perpendicular bisector of line segment joining the points A(1,0) and B(0,1)
Slope of AB is
mAB=0−11−0=−1
Slope of the perpendicular is
m=1
Midpoint of AB is
M=(12,12)
Therefore, the equation of the perpendicular bisector is
y−12=1(x−12)⇒y=x