# C Programming Code Examples

## C > Recursion Code Examples

### Program to display Fibonacci series using recursion

C Check if the Matrix is an Identity Matrix - C code checks a given Matrix is an Identity Matrix. Identity matrix is a square matrix with 1's along the diagonal from upper left to lower right and 0's in all other positions. If it

Get Lowest order or first set bit of number - C Program Lowest order or first set bit of any number is the first bit set starting from left to right. Lowest order set bit of any odd number is 0 since first bit of any odd number is always

Allocates Sufficient Memory for an Array - C Programming language code example to Allocates sufficient memory for an array of num objects of size size. Return: Returns a pointer to the first byte of the allocated...

C Programs Calculates the Value of sin(x) - C Program Coding to Calculates the Value of sin(x). It's a non-differentiable function. Start at zero, then goes up to 1, then back down to 0. But then, instead of Going Negative, it will

C Code Sorts Set of Strings in Alphabetical - In this program, user would be asked to enter a set of Strings and the program would sort & display them in Ascending alphabetical order. This C program would sort the input strings in

C Evaluate the Given Polynomial Equation - C program to evaluate a given polynomial by reading its coefficients in an array. Formula is P(x)=AnXn + An-1Xn-1 + An-2Xn-2+... +A1X + A0. The 'polynomial' can be written as: P(x) =

Codes Binary Number to Decimal Number - Takes the binary number (entered by user) as input and converts it into a decimal number using function. To understand this program, you should be familiar with the following C...

Convert centimeter to meter & kilometer - C Program Code input Length in centimeter and convert it to meter and kilometer. How to convert length from centimeter to meter and kilometer in C. Input length centimeter