 # C Programming Code Examples

## C > Pyramid Patterns Code Examples

### Top Down Triangle Printing In C

C++ Implementing B-Tree Data Structure - This C++ Program implements The "B-Tree" data structure. B-tree is a tree data structure that keeps "data sorted" and allows searches, sequential access & insertions in logarithmic

Adds Complex Numbers Passing Structure - Complex numbers are entered by the user. In the problem, two complex numbers entered by the user is stored in structures 'n1' and 'n2'. These are passed to 'addComplexNumbers()'

Check If a Given Number is Prime Number - Program takes a number and checks whether a given number is Prime or not. Take number as Input & Check if the number is Divisible by any of the natural numbers starting from 2. If

Display all the Nodes in a Linked list using - C program display all the nodes in a linked list 'using recursion'. This program uses recursive function and displays a 'Linked List'. A Linked List is an ordered set of 'data elements', each

Copying an Array involves index by index - C program code shall help you learn one of basics of arrays. Copying an array involves index-by-index copying. For this to work we shall know the length of array in advance,...

Code to find the Frequency of Odd & Even - Program code finds frequency of odd & even numbers in the given matrix. The program first accepts the matrix. Then finds the odd and even numbers in a matrix. Then finds the

QuickSort For Files in The C Programming - First, create a file to sort, write unsorted data to disk and now, sort the file. Sorting disk file. A Quicksort for files. First read in record i and j and then write them back in opposite slots.

C Program Codes Find Reverse of an Array - C program to read elements in an array and find its reverse. C Program to print reverse of an array. There are various ways to reverse an array. The basic three algorithms to reverse a