Author name: Amlendra

I am an embedded c software engineer and a corporate trainer, currently, I am working as senior software engineer in a largest Software consulting company . I have working experience of different microcontrollers (stm32, LPC, PIC AVR and 8051), drivers (USB and virtual com-port), POS device (VeriFone) and payment gateway (global and first data).

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 »

Count Set bits in an Integer

In this blog post, I will teach you how to write C/C++ Program to count set bits in an Integer. After reading this post you able to write an efficient program to count the number of 1s in the binary representation of an integer. Examples, Input : n = 9 Output : 2 Binary representation

Count Set bits in an Integer Read More »