 # C Programming Code Examples

## C > Data Structures Code Examples

Program Find the Length of the Linked list - C Program to Find the length of the linked list using Recursion. This program uses Recursive Function and calculates the length of a string. The user enters a string to find it's length. List

C++ Code Find ASCII Value of a Character - Full form of Ascii is American Standard Code for Information Interchange. It is a character "Encoding Scheme". Originally based on the English alphabet, every character or number

C Codes Calculates Prints the Value of nPr - In the following c program we are calculating the value of nPr based on the given values of n and r. nPr can also be represented as P(n,r). The formula of P(n, r) is: n! / (n - r)!. P(5, 2)=5!

Find Palindrome Number in C++ language - We already known that if reverse of a number is equal to the same number, it is Palindrome number. Remember it: certain variables and a loop use to get the reverse of a number which

Increase 1 to all of the given Integer Digit - Initialize variable sum to zero. Take a number as input and store it in the variable number. Obtain the remainder and quotient of the variable number. Store the remainder in the

Inputs Few Numbers Performs Merge Sort - C program, using recursion, 'Performs Merge' sort. A Merge Sort is a sorting algorithm with 'Complexity of O(nlogn)'. It is used for sorting numbers, structure, files. Perform Merge Sort

C Diameter Circumference & Area of circle - C Functions to find Diameter, Circumference and Area of circle. First assign a meaningful name to all the three functions. Say function to calculate diameter, circumference & area

Check the Number can be Express as Sum - Check if an integer can be 'expressed' as the "sum of two Prime Numbers" of all possible combinations with the use of functions. This program takes a positive integer and checks