2
Answers

Control instructions in C#

Michell Johnson

Michell Johnson

12y
1.9k
1
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)