# C Programming Code Examples

## C > Pyramid Patterns Code Examples

### C Program to Print the Double Pyramid Pattern

Program Represents Graph by Linked List -
Algorithm represents a 'graph' using Linked list. The time complexity of this algorithm is "O(e)". This algorithm takes the input of the number of vertex and edges. Take the input

No sort, but reversing a [linked list] c code -
Code add a lnode at the beginning of the list. Reverse the whole list. Display the whole linked list. Insert some numbers. Add a lnode at the beginning of the list. Add new node.

Code Find Sum of lower Triangular matrix -
C program to read elements in a matrix and find sum of lower triangular matrix. How to find sum of lower triangular matrix in C. Find sum of lower triangular matrix, we need to

Partition of a Number in all Possible Ways -
C++ Program to get all the unique partitions of an integer such that addition of a partition results an integer. An integer n, generate all "possible unique" ways to represent n as sum

C++ Checks if an Undirected Graph is Tree -
C++ Program to check whether an undirected 'graph is tree' or not. Graph is tree if it doesn't contain cycles. A recursive function that uses visited[] & parent to detect cycle in subgraph

Printf Funtion Display Message by Format -
Hexadecimal, character, scientific notation (lowercase e), scientific notation (uppercase e), string of characters, unsigned decimal integers. decimal floating point, displays a

Program to Find Maximum and Minimum -
Program to find maximum in array elements using recursion and c conditional operator. C program code to find maximum & minimum elements in an array using recursion. How to

C Program Codes write data in DMA Mode -
Motor on, command code, cylinder no. Sense Interrupt Command. Reading ST0 in data register. Initialization DMA Mode. Supplying Mode Byte. Supplying channel no. on port 10.