1.

Select the relevant output for the following set of 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
D. 0, 0
Answer» D. 0, 0


Discussion

No Comment Found