Q46
What will be the output of the following C# code? static void Main(string[] args) byte varA = 10; byte varB = 20; long result = varA & varB; Console.WriteLine("0 AND 1 Result :2", varA, varB, result); varA = 10; varB = 10; result = varA & varB; Console.WriteLine("0 AND 1 Result : 2", varA, varB, result); Console.ReadLine();
A.
0, 20
B.
10, 10
C.
0, 10
AnswerD.
0, 0
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board