Check if two numbers are equal without using arithmetic and comparison operators

In this blog post, I will teach you how to write C/C++ program to check if two numbers are equal without using arithmetic and comparison operators. After reading this detail guide post I believe you able to write an efficient program to determine whether two integers are equal without using comparison operators (==,!=, <, >, <=, […]

Check if two numbers are equal without using arithmetic and comparison operators Read More »

Rotate bits of a number

In this blog post, I will teach you how to write a C/C++ program to rotate bits of a number. After reading this post you can write an efficient program to rotate bits of a number. There are two types of rotation left rotation and second one is right rotation. In the left rotation, the

Rotate bits of a number Read More »