# C Programming Code Examples

## C > Conversions Code Examples

### Program to Convert a Decimal Number to Binary & Count the Number of 1s

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

C++ language has many built-in operators -
Operator is a symbol that is used to perform "mathematical" or "logical" manipulations. +, -, *, /, %, Addition, Subtraction, Division and Multiplication, Modulus, ++, -- Increment and

Reverse Counting program in C Language -
C Program reverse counting is sequence of whole numbers in descending order without zero. Developing a program of counting in C programming language is easy and we shall

C++ Program to Implement Interval Tree -
In computer science, An "Interval Tree" is an ordered tree data structure to hold intervals. Specifically, it allow one to efficiently find all intervals that overlap with any given interval

C Check the Number is Armstrong number -
C Program to input a number from user and check whether given number is Armstrong number or not. Armstrong number is n-digit number that is equal to the sum of the nth...

C Sum of Row & Column of a MxN Matrix -
C Program finds the sum of each row & each column of a MxN matrix. The c program code accepts an MxN matrix. Then adds each row of the matrix and also adds each column of...

C++ Performs Searching Based on Locality -
Searching based on Locality of Reference and also called Principle of locality. So Depending on the memory access pattern data elements are "reallocated". In general search, 80% time

C Sort Set of Strings in Alphabetical Order -
Program to sort set of strings in alphabetical order using strcmp(). Program will accept set of 5 strings & sort them using 'strcmp' library function and "Print the Result" on the screen.