Explanation:
B 
\(\begin{aligned} \text { If, } \mathrm{A}=0, \mathrm{~B}=0, \mathrm{Y}_1=0, \mathrm{Y}_2=0 \\ \mathrm{C}=0+0=0 \\ \end{aligned}\)
If, \(\mathrm{A}=0, \mathrm{~B}=1, \mathrm{Y}_1=1, \mathrm{Y}_2=0\)
\(\mathrm{C}=1+0=1\)
If, \(\mathrm{A}=1, \mathrm{~B}=0, \mathrm{Y}_1=0, \mathrm{Y}_2=1\)
\(\mathrm{C}=0+1=1\)
If, \(\mathrm{A}=1, \mathrm{~B}=1, \mathrm{Y}_1=0, \mathrm{Y}_2=0\)
\(\mathrm{C}=0+0=0\)
\(\therefore\) Truth table
{|l|l|l|}
| \(\) \(\) \(\)\)|
|---|
\( 0 0 0\)
\(0 1 1\)
\(1 0 1\)
\(1 1 0\)
\(
It is the Truth table of XOR gate.