Home / C# Programming / Operators :: Discussion

Discussion :: Operators

  1. What will be the output of the C#.NET code snippet given below?

     byte b1 = 0xF7; 
     byte b2 = 0xAB;
     byte temp;
     temp = (byte)(b1 & b2); 
     Console.Write (temp + " ");
     temp = (byte)(b1^b2);   
     Console.WriteLine(temp);
    

     

  2. A.

    163 92

    B.

    92 163

    C.

    192 63

    D.

    0 1

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    No answer description available for this question.


Be The First To Comment