Analyst Integration Question: Download Integration Programmer PDF

Explain the result of 1 XOR 1?

Tweet Share WhatsApp

Answer:

Answer is zero, because XOR returns 1 if two operands are distinct and zero if two operands are same, for example 0 XOR 0 is also zero, but 0 XOR 1 or 1 XOR 0 is always 1.

Download Integration Programmer PDF Read All 41 Integration Programmer Questions
Previous QuestionNext Question
How to get the last digit of an integer?Explain test-driven development?