# C Programming Code Examples

## C > Strings Code Examples

### C Program to Check whether two Strings are Anagrams

Sort N Numbers in Ascending Order using -
C Program to sorts the numbers in ascending order using bubble sort. Bubble sort is simple "Sorting Algorithm" that works by repeatedly Stepping Through the List to be Sorted, then

Calculate Sum and Difference of Matrices -
C Program calculates the sum & difference of the matrices. Code first reads 2 matrices and then performs both addition and subtraction of matrices. Sum of elements of matrix A and

C++ Apply the Kruskal's Algorithm to find -
'C++ Program' to find the minimum spanning tree of the given graph. Kruskal's algorithm is a greedy algorithm in graph theory that finds a "Minimum Spanning Tree" for a connected

C++ Bitap Algorithm and String Matching -
The algorithm tells whether a text contains a substring which is "approximately equal" to a given pattern, where approximate equality is defined in terms of Levenshtein distance and

Code Count number of digits in an integer -
C language program to input a number from user and count number of digits in the given integer using loop. First logic is the easiest and is the common to think. It uses loop to

C Language Sample Add Two Polynomials -
Enrter the elements of the first poly. Unable to create memory. Enter the elements of the second poly. Printing the elements of the lists. The elements of the poly first are. The...

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.

Check Palindrome number using recursion -
Recursive function in C to Check Palindrome number. Declare recursive function to check palindrome. First give a meaningful name to our function, say isPalindrome(). Along with