Michell Johnson

Michell Johnson

  • NA
  • 94
  • 108.7k

Control instructions in C#

Dec 6 2011 11:55 AM
Hello friends,

I want to know that we have a code which is given below:
int i = 2, j = i; if (Convert.ToBoolean((i | j & 5) & (j - 25 * 1)))     Console.WriteLine(1);  else     Console.WriteLine(0);

The Output of the program is 0 Please let anyone explain me that how it produces the output 0 in brief.


Answers (2)