# C Programming Code Examples

## C > Strings Code Examples

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

Check Whether Number is Strong Number -
How to check Strong Numbers using loop in C. What is Strong number? Strong number is a special number whose sum of factorial of digits is equal to the original number. 145 is

Code Prints Fibonacci Series upto n Terms -
C Programming print Fibonacci series up to n terms using loop. Fibonacci series is a series of numbers where the current number is the sum of previous two terms. For Example: 0, 1,

C++ Program to Implement Pairing Heap -
In this, Insert item x into the 'priority queue', maintaining heap order. Return a pointer to the node containing the new item. Find the 'smallest' item in the priority queue. Return

Comparing two strings code in C language -
C program code lexicographically compares two strings. Returns an integer based on the outcome. String1 is less than string2, string1 is equal to string2, string1 is greater than...

Find Intersection & Union of 2 Linked Lists -
This C Program code finds the intersection & union of 2 Linked lists. Intersection is a set of elements that are common in both lists while union is a set of all Unique Elements in both...

Check if Given Binary Tree is an AVL Tree -
This is a C++ Program to check if BST is AVL. An AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an "AVL tree", the heights of the

C++ Code Sample Preprocessor Directives -
There are different "Preprocessor Directives" that perform different tasks. Lets categorize preprocessor directives. Inclusion directives: "#include": specifies the files to be included,

Code Finds Maximum Between 3 Numbers -
Write a C program to find maximum between three numbers using Ladder If Else or nested if. We will continue our discussion and we will write code to find maximum between three...