# Php Programming Code Examples

## Php > Algorithms Code Examples

### These 2 functions write and read the contents of a specially designated

Implement Pancake Sort Array of Integers -
C code implements Pancake Sort on array of integers. Pancake sorting is a variation of the "Sorting Problem" in which the only allowed operation is to reverse the elements of some

Bricks Game program coding example in C -
Create opening screen and accept the level of the player's. Assign the speed to ball as per the level chosen. Draw four layer of bricks, the paddle and the ball. Memory allocation

C++ Code Sample Preprocessor Directives -
There are different "Preprocessor Directives" that perform different tasks. Lets categorize preprocessor directives. Inclusion directives: "#include": specifies the files to be included,

Program Sort Text data by rhyming order -
Create a new node. First, we handle the case where 'data' should be the first element. Apperently this !IS! the first element. Now data should [be|becomes] the first element.

Print to Binary Numbers Pyramid Patterns -
C code binary numbers pyramid pattern. First and Third Line is Starting with 1, While 2nd & 4th Line is starting with 0, So for First & Third Line count will be 1 and for even Line Number

Program to Find the Vertex Connectivity -
C++ Program finds vertex connectivity of a graph. A vertex in an undirected connected graph is an articulation point iff removing it disconnects the graph. 'Articulation points'

Printing Multiplication Table of a Number -
C program to input a number from user and print multiplication table of the given number using for loop. Input a number from user to generate multiplication table. Store it in a var

Program to find largest array element in C -
Finding largest value in an Array is a classic C array program. Code gives you an insight of iteration, array & conditional operators. We iteratively check each element of an array if