# C Programming Code Examples

## C > Pyramid Patterns Code Examples

### Pyramid Program in C Programming - Mirror Image of Right Angled Triangle

Code Find Second largest number in Array -
Code to find the largest and second largest element in an array. Step by step descriptive logic to find second largest element in array. Find second largest element of an array in C

Count Numbers of Words Digits & Vowels -
Program find number of words, blank spaces, Special symbols, Digits, "Vowels" by pointers. We are going to accept string use 'gets()'. We are not using scanf() to accept string because

Code Finds the Median of 2 Sorted Arrays -
Algorithm finds the median of 2 sorted arrays using binary search approach. Takes the input of 'n' Data Elements of both the arrays. Using decrease, conquer method find the combined

Implimentation of a list using a Linked List -
Operators declared on the type list. Reading a list from input. Writing a list on the output. Gets a list and returns its length. Getting an element and returns its positon in the list. If

Positional Notation of numbers in C Code -
Enter the number to convert, enter base to which we will convert n, right-hand digit of nprime. Generate digits of converted number right to left. Isolate right-hand digit of n.

C++ Using Simple Hierarchical Inheritance -
In C++ Language, The relationships of objects or classes through "Inheritance" give rise to a hierarchy. In hierarchical inheritance a single class serves as a superclass for more than one

C Language Code Formula of Permutation -
Permutation refers number of ways in which set members can be Arranged or Ordered in some fashion. The 'Formula of Permutation' of arranging k elements out of n elements is

Efficient Implementations of Disjoint Sets -
numElements is the initial number of disjoint sets. Union "Two Disjoint" sets. For simplicity, we assume "root1 and root2" are distinct and represent set names. "root1" is the root of set