# C Programming Code Examples

## C > Bitwise Operators Code Examples

### Program to Count the Number of Bits set to One using Bitwise Operations

C Coding Print all the Paths from the Root -
C language program Function to store all the paths from the root node to all leaf nodes in a array. Function which helps the print_path to recursively print all the nodes. Function to...

C Program Checking Armstrong Numbers -
Check for Armstrong Number in C language. Armstrong Number: If sum of cubes of digits of number equal to same given number then the number is called as Armstrong Number.

Program to Find Inverse of a Graph Matrix -
C++ code displays the Gauss Jordan method of computing inverse of a matrix. it proceeds with row by row "reduction of matrix" to unit matrix column-wise. First enter the order of

Sorting of Less Than 100 Numbers in O(n) -
We can implement the task best using 'Radix' sort. In this algorithm Sorting of data is done from least significant digit to most significant digit. Need 10 different spaces labeled '0 to 9'

Sample Sort Strings in Alphabetical Order -
To sort strings in alphabetical order, you have to ask to the user to enter the two string, now start comparing the strings, and if found then make a t variable of same type, and place the

C Binary Equivalent of input Hexadecimal -
Program to display Binary equivalent of an input Hexadecimal Number (Hex to Binary Converter). Number will be accepted if you press Ctrl-Z & then ENTER after inputting...

The C Programming Pointers & 2D Arrays -
As we know that the one "Dimensional Array" name works as a pointer to the base element of the Array. However in the case "2D Arrays" the logic is slightly different. You can consider

C Coding Replace Lowercase to Uppercase -
Accepts the sentence and replaces lowercase characters by uppercase and vice-versa. Take an an English sentence as input and store it in the array "sentence[]". Copy the Last Letter's