Php Programming Code Examples
Php > Date Time Code Examples
Calculation of easterday and the holydays depended of easterday
C Code Demonstration of Tree Operations -
Program demonstration of Tree Operations - insertion, inorder, preorder, postorder. Enter the number of terms you want to add to the tree. Repeated entry error value rejected...
Swaps Numbers Using Pointers in the C++ -
The simplest and probably most widely used method to "swap 2 variables" is to use a third temporary variable: In programming, the act of 'swapping' two variables refers to mutually
Number Decimal System to Binary System -
C Language program code to using recursion finds a binary equivalent of a decimal number entered by the user. The user has to enter a decimal which has a base 10 and the program
C++ Checks Original Equal Reverse or Not -
To check that the original number is equal to its reverse or not in C++, enter the number & reverse that number then check that reverse is equal to "original or not", before reversing
Swap Array Element and Reverse an Array -
To reverse an array in C++ programming, you have to ask to the user to enter the array size and array elements. Now start swapping the array elements. Make a variable say temp of
C Code Copy One String to Another String -
C program code to copy one string to another without using inbuilt library function 'strcpy()' Input string and 'store it' to some variable say text1. Declare another variable to 'store copy'
C code swap First & Last digit of a number -
C Program to input a Number from user and swap first and last digit of the given number. First input a number from user and find last digit. Total number of digit - 1. Find first digit.
C++ Programming Code for Selection Sort -
Here, we use 'swapping' of the elements with the help of a Variable say temp of same type. That is, on found, start 'Swapping' with temp variable, place the first number in the temp &