- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
What will be the output of the C#.NET code snippet given below?int i = 2, j = i;
if (Convert.ToBoolean((i | j & 5) & (j - 25 * 1)))
    Console.WriteLine(1); 
else
    Console.WriteLine(0);

1.0

2.1

3.Compile Error

4.Run time Error

Posted Date:-2021-02-20 14:28:12


More MCQS Questions and answers

Search