The correct option is option(B)- y – x – 1 = 0
line passing through the point (1, 2)
And perpendicular to the line x + y + 1 = 0
Let the equation of line L is
\[x\text{ }-\text{ }y\text{ }+\text{ }k\text{ }=\text{ }0\text{ }\ldots \text{ }\left( i \right)\]
Since, L is passing through the point (1, 2)
\[\begin{array}{*{35}{l}}
\therefore ~1\text{ }-\text{ }2\text{ }+\text{ }k\text{ }=\text{ }0 \\
\Rightarrow ~k\text{ }=\text{ }1 \\
\end{array}\]
Putting the value of k in equation (i), we get
\[\begin{array}{*{35}{l}}
x\text{ }-\text{ }y\text{ }+\text{ }1\text{ }=\text{ }0 \\
Or\text{ }y\text{ }-\text{ }x\text{ }-\text{ }1\text{ }=\text{ }0 \\
\end{array}\]