

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the C#.NET code snippet given below?
byte b1 = 0xAB; byte b2 = 0x99; byte temp; temp = (byte)~b2; Console.Write(temp + " "); temp = (byte)(b1 << b2); Console.Write (temp + " "); temp = (byte) (b2 >> 2); Console.WriteLine(temp); |
A. | 102 1 38 |
B. | 108 0 32 |
C. | 102 0 38 |
D. | 1 0 1 |
Answer» D. 1 0 1 | |