 Php Programming Code Examples

Php > E-Mail Code Examples

PHP3 PHP POP3 SMTP MAIL

C Code interchange Diagonals of a Matrix - C programming code to read elements in a matrix and interchange elements of primary (major) diagonal with secondary (minor) diagonal. C program code for interchanging

C Find Power of a number using Recursion - First give a meaningful name to our recursive function say pow(). The function must accept 2 numbers i.e. base. exponent and calculate its power. Hence, take 2 parameters for base

C Program Sample Bubble Sort Algorithm - Implementing bubble sort. Bubble sort is also known as sinking sort. This sorting algorithm compares each pair of adjacent items. Swaps them if they are in the Wrong Order, and this

C++ Program Reverse an Integer Number - This takes an integer input from the user and stores it in 'variable n'. Then the while loop is iterated until n != 0 is false. In each iteration, the remainder when the value of n is divided

Find ones complement of a binary number - C program to input binary number from user and find ones complement of binary number using loop. What is Ones complement? Ones complement of a binary number is defined as

Find Sum of First & Last digit of a number - C program to input a number and find sum of first & last digit of the number using for loop. Input a number from user and store it in some variable say j. Find last digit of given number

C Program to Prints 3 Characters forward - Prints 3 characters forward and backward to demonstrate character printing in C program code example. Define the first character, define the second character, define the third

Find The Perfect Number In C++ language - For example 6 is Perfect Number since divisor of 6 are 1, 2 and 3. Sum of its divisor is 1 + 2+ 3 =6 and 28 is also a 'Perfect Number' since 1+ 2 + 4 + 7 + 14= 28. Other 'Perfect Numbers': 496