Php Programming Code Examples
Php > Calendar Code Examples
C coding to Accessing 2-D Array Elements -
Program code to access every 2-D Array we requires 2 subscript variables. y - Refers the Row number. x - Refers Column number. a[1][0] refers element belonging to first row
Linear Search Algorithm in C++ Language -
In case of 'an array' we check that a given key or a number is present in array at any index or not by "comparing each element" of array. By traversing the whole data structure elements
C++ Program to Find LCM of two Integers -
Examples on different ways to calculate LCM ("Lowest Common Multiple") of two integers using loops and decision making statements. "LCM of two integers" a and b is the smallest
C Convert Binary to Octal Number System -
Program input binary number and convert to octal number system. To make things simple and sound, I have divided the logic in 2 easy steps. Group all binary bits to 3 digits starting
Takes octal number as input and converts -
C Program take a octal number as input and store it in the array octalnumber and using switch statement access each digit of a octal number and print its equivalent binary value
Maximum Occurring Character in a String -
C Program code to find maximum occurring character in a string using Loop. How to find highest frequency character in a string using loop in C programming. Program to find the
C++ Detecting a Keypress and ASCII Code -
Program which detects a key pressed and its 'ASCII' value with out pressing enter key and using cin>> on press Esc key program should exit. When press a key its ASCII value should
C++ Language Code to Merge Two Arrays -
Program ask to the user to enter array 1 and 2 size, then ask to enter array 1 and 2 elements, to "merge or add" to form new array, display the result of the added array or merged array