# Tag - even odd program in c

## C++ Programming-Swap all odd and even bits

Given an unsigned integer, swap all odd bits with even bits. For example, if the given number is 23 (00010111), it should be converted to 43 (00101011).

## C Programming-Swap all odd and even bits

Given an unsigned integer, swap all odd bits with even bits. For example, if the given number is 23 (00010111), it should be converted to 43 (00101011).

## Write a C program to find the parity of an unsigned integer

Write a C program to find parity of an unsigned integer - Bit Algorithm - Parity of a number refers to whether it contains an odd or even number of 1-bit

## C Programming – Check divisibility by 7

C Programming - Check divisibility by 7 - Mathematical Algorithms - Divisibility by 7 can be checked by a recursive method. A number of the form 10a + b.

## C program to add n numbers

C program to add n numbers - C Programming - This c program add n numbers which will be entered by the user. Firstly user will enter a number indicating