# C Programming Code Examples

## C > Pyramid Patterns Code Examples

### C Program to Print 1-10 Numbers in Pyramid fashion

C Performs Quick Sort on A Set of Entries -
C program to using recursion, performs quick sort. A 'Quick Sort' is a sorting algorithm with 'complexity of O(nlogn)'. It is used for sorting Numbers, Structure, Files. Enter the number

C++ Programs Implementing Bloom Filter -
Number of bits in the Bloom filter. Number of bits set per Mapping in Filter. Table of "8-bit" CRC32 remainders. Bloom filter array of M/8 bytes. Number of bytes in Bloom filter. Main

Implement Two Stacks using Single Array -
C Programming code implements two Stacks using a Single Array & Check for Overflow & Underflow. A Stack is a linear data structure in which a data item is inserted and deleted...

Finds HCF of given Number use Recursion -
Program to find HCF of a given number using recursion. Programming code using recursion finds the HCF of 2 entered integers. The 'HCF' stands for Highest Common Factor. Enter the

C Programming Codes Implement a Stack -
C Program to ask the user for the operation like push, pop, display, exit. Use the variable top to represent the top of the stack and then according to the option entered, access its...

Program to Extract Grams from Textdata -
Print only the 'raw' words. Read input from 'FILE', default is stdin. Start reading lines from file pointer, add all entrys to 'strarray'. Print the array of strings, jumping back each

Check if String is Empty or Not in The C++ -
You can use the 'empty()' function of string to determine whether a string is empty or not. If a string is empty, function empty() will return true otherwise false. The string class provides

C++ Sample Calculate Power by Recursion -
This technique can only calculate power if the exponent is a 'positive integer'. To find power of a number, you can use pow() function. C++ program calculates the power of any number