# Php Programming Code Examples

## Php > Code Snippets Code Examples

### Display mysql server information

C++ Programming Subtract Two Matrices -
Program ask to the user to enter any two 3*3 array elements to subtract them i.e., Matrix1 - Matrix2, then display the "subtracted" result of the two matrices ( Matrix3 ) on the screen:

Program Find Duplicate Elements in Array -
Array is the collection of similar data type, In this c++ program we find duplicate elements from an array, Suppose array have 3, 5, 6, 11, 5 and 7 elements, in this array 5 appear two

C++ Program to Implement Pairing Heap -
In this, Insert item x into the 'priority queue', maintaining heap order. Return a pointer to the node containing the new item. Find the 'smallest' item in the priority queue. Return

Amstrong Number Program In C language -
C Language program to Amstrong Numbers. Armstrong Number is a number which equal to the sum of the cubes of its individual digits For example, 407 is an armstrong number as

C++ Program to Implement Selection Sort -
This C++ program sample sort the given data using Selection Sort. Selection sort algorithm sort data by comparing one element to every other element & decide its position. The time

Finds Size of the Largest Independent Set -
Program to find largest independent set in a binary tree. In graph theory, an independent set or stable set is a set of vertices in a graph, no two of which are 'adjacent'. That is, it is a

Program for Beginners: Area of Rectangle -
A plane figure with 4 sides & 4 right angles & having Equal Opposite sides. Adjucent sides makes an Angle of 90 degree. Just compute the area of a Rectangle if you know its length

Matrix Multiplications Mutiply 2 Matrices -
Column number of first matrix must be same as the row number of second matrix. Initialize matrix. Print values of the passed matrix and mutiply two matrices and return the resultant