Swapping two numbers using Bitwise XOR operator is tricky one and it’s generally asked in interviews. There are other two methods also through which you can swap two numbers.
-
Related Posts (YARPP)
-
Topics
-
-
What’s the difference between double and triple equals operators . Javascript supports both supports strict equality (===) and type-converting equality (==).
In the beginning it’s seems confusing to me when i see comparison using triple equals. Later i know the reason why triple comparison is used.
In this post i am going to explain what’s the difference between double(==) and triple(===) equal operators.
Write a c program to swap two numbers without using third variable. Given two input numbers, We have to write a code to swap two numbers without using third variable. In my previous post, I have explained a c program to swap two numbers using third variable. This question is generally asked in an interview.
Programming questions on linked list