# Php Programming Code Examples

## Php > Code Snippets Code Examples

### Date and time example

C Programs Depth First Binary Tree Search -
C program, using recursion, performs a depth first search traversal. Depth-first search (DFS) is an algorithm for 'Traversing or Searching' a tree, 'tree structure' or graph. The concept of

Convert Octal to Decimal Number System -
Program to input Octal number and convert to Decimal number. Octal number system is a base 8 number system. Octal number system uses 8 symbols to represent all its numbers...

Displaying the Inventory of Items in Store -
C Program display the inventory of items in a store. accepts the value of item name, item code, price, quantity & manufacture date. Then display those value in a structured way.

Computing The Volume of A Tetrahedron -
Program to finds the volume of tetrahedron. Call the four vertices of the tetrahedron (a, b, c), (d, e, f), (g, h, i), and (p, q, r). Now create a 4-by-4 matrix in which the coordinate triples

Program to Reverse every Word of Strings -
Program 'takes a string', reverses every word of the string. Take a string as input and store each word of the input string in the separate rows of the '2-D array'. Reverse each word of

The C++ Language Multilevel inheritance -
"Multilevel inheritance" represents a type of inheritance when a "Derived" class is a base class for another class. In c++ deriving a class from a derived class is known as 'multi-level'

The C++ Implementation for Binary Heap -
Capacity is the capacity of the "binary heap". Duplicates are allowed. "Throw Overflow" if container is full. Find the smallest item in the "priority queue". Return the smallest item, or

Performs Edge Coloring to the Line Graph -
Takes the input of the number of 'vertexes' & the number of edges in the graph. It takes the input of vertex pairs for the given number of edges. It generates a line graph for the given