# C Programming Examples

Here is the listing of C programming Topics.

## 1. Simple C Programs

The following section gives a collection of Simple C Programs which are categorized into various Categories like Programs on Integers, Programs on Number Conversion, Programs on Recursion, Programs on Special Numbers, Programs illustrating the functions of a Computer, Programs on day-to-day activities, Programs on Unions, Programs to display Special Patterns, Programs to illustrate Call By Value and Call by Reference and Programs to illustrate the use of Arguments. The link below contains Programs for all the categories mentioned above.

## 2. C Programming Examples on Arrays

The following section gives a collection of C Programs which are categorized into various Categories like Programs on Mathematical Operations on an Array, Programs on finding the Largest and Smallest numbers in an array, Programs on Inserting and Deleting Elements to and from an Array, Programs on Sort and Merge Operations on an Array, Programs on Search Operation on an Array, Programs on Queue and Stack Implementation of an Array, Programs on Printing the Elements of an Array, Programs on performing Operations on Individual Elements of an Array, Programs on Mathematical Functions and their Applications on Arrays. The following link will guide you to the various programs that belong to the above mentioned categories.

## 3. C Programming Examples on Matrix

In this section, we have Programs on Matrix Operations, Programs on Matrix Types, Programs on Matrix Rows and Columns and Programs on Matrix Diagonals. The following link contains various C programs on Matrix under the categories mentioned above.

## 4. C Programming Examples on Strings

In this section, we have various Programs on Strings. These include Programs on Palindrome, Programs on String Operations, Programs on Replace, Remove and Reverse Functions, on finding the Frequency of Occurrences of Characters in a String, Programs on Displaying, Inserting and Printing the characters in a String, Programs on implementation of Functions and Algorithms, Programs on the usage of Count Function and Search Method, Programs demonstrating the Occurrences in a given String and Programs demonstrating Simple Mathematical Operations on Strings. The link below illustrates all the Programs that are Categorized as above.

## 5. C Programming Examples on Bitwise Operations

In this section, we have various Programs on Bitwise Operators. These include Programs on Mathematical Applications using Bitwise Operations, Programs on Integer Bits, Programs on Swapping and Replacing Integers, Programs on String Positions, Programs on Binary Addition and Reversal of Bits and Programs on Counting and Swapping the Contents of Strings using Bitwise Operations. The below link guides us through all the Category of Programs mentioned above.

## 6. C Programming Examples on Linked List

In this section, we have various Programs on Linked Lists. These include Programs on Creating and Displaying the Elements of a Linked List, Programs performing Search and Display Functions of a Linked List, Programs on on Implementation of Count, Length and Print Operations on a Linked List, Programs on Implementation of Other Data Structures using Linked List, Programs Dealing with the Operations on the Elements of a Linked List, Programs on Print, Reverse and Read Operations, Programs on Binary Tree Implementation using Linked List and Programs on Interchange and Modify Operations. The following link will guide us through all the Programs mentioned above.

## 7. C Programming Examples on Stacks & Queues

The below categories deal with the Programs on Stacks and Queues. They include Programs on Stack Implementation, Programs on Queue Implementation, Programs on String Implementation, Programs, on Queue Implementation using Other Data Structures and Programs on Other Stack Implementations. The link below displays all the programs on Stacks and Queues.

## 8. C Programming Examples on Searching and Sorting

This section deals with programs on Sorting and Searching. The various Categories are Programs on Basic Sorting Algorithms, Programs on Searching Algorithms, Programs on Special Sorting Algorithms, Programs on another category of Special Sorting Algorithms and Programs on Pancake Sort, Bogo Sort and Shell Sort. The following link displays all these categories of Programs.

## 9. C Programming Examples on Trees

This section deals with programs on Trees. These include Programs on Tree Traversals, Programs on Heap and Binary Tree Implementation, Programs dealing with the Nodes of a Tree, Programs on Special Properties of Binary Trees, Programs on BFS and DFS Traversals and Programs on Inorder Traversal of a Binary Tree. The link below guides us through all of these Programs.

## 10. C Programming Examples on File Handling

This section deals with categories of File Handling. They include Programs on File Creation, Programs on on File Content Deletion, Programs on Appending and Merging the Contents of Files, Programs on Create, Copy, Comparison and Printing the Contents of the File, Programs on Convert, Replace, Count and Reverse Operations on the Contents of a File and Programs on Creation and Updating Operations on the Contents of the File. The link below will guide us through all of the above mentioned Programs.

## 11. C Programming Examples on Mathematical Functions

The section below deals with various categories of Programs on Mathematical Operations. These include Programs on Mathematical Calculations, Programs on Fibonacci Numbers, Programs on GCD and LCM of Numbers, Programs on Statistical Properties, Programs on Power and Factorial of a Number, Programs on on Summation of a Series, Programs on finding the Area of Geometrical Figures, Programs on finding the Volume and Surface Area of Geometrical Figures and Programs on implementation of Floyd and Pascal’s Triangle. The link below gives the list of all the categories of Programs mentioned above.

## 12. C Programming Examples on Puzzles & Games

The sections deals with programs on Puzzles and Games. These include Program to Solve Tower-of-Hanoi Problem using Recursion and Program to Solve the Magic Squares Puzzle without using Recursion. The links below contains the source code of these Programs.

## 13. C Programming Examples using Recursion

The following section deals with programs that use the concept of Recursion. The programs include categories on Traversal of a Tree using Recursion, Sorting Algorithms using Recursion, Linked List Implementation using Recursion, illustrating Binary Search Algorithm and Tower of Hanoi Problem using Recursion, Basic Mathematical Operations using Recursion, Number System Conversion using Recursion. The link below guides us through the above mentioned categories.

## 14. C Programming Examples without using Recursion

The following section deals with programs that do not use the concept of Recursion. The programs include categories on Traversal of a Tree without using Recursion, solving Magic Square Puzzle and finding the HCF of a given number without using Recursion, Number Conversion without using Recursion, Linked List Implementation without using Recursion, Stack Reversal without using Recursion. The link below guides us through the above mentioned categories.