Analyst Integration Question:
Download Job Interview Questions and Answers PDF
Explain the result of 1 XOR 1?
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 Interview Questions And Answers
PDF
Previous Question | Next Question |
How to get the last digit of an integer? | Explain test-driven development? |