Php Programming Code Examples
Php > File Manipulation Code Examples
specifies which chars at the start of a line define a comment line
Program Represent Graph Using 2D Array -
Algorithm takes the input of the number of vertex & edges. Take the input of connected vertex pairs. Print the graph using 2D arrays. A function to "print the matrix". Print 1 if the
C++ Code Finds Greatest Common Divisor -
This means a 'greatest number' which divides both numbers. Example: Two numbers are 18 and 24. Numbers which Divides both are 1, 2, 3 and 6 in which greatest number is 6. So 6 is
Find the Volume and Surface Area of Cone -
This C Program to calculates the volume and surface area of cone. This program is used to find the the volume and surface area of cone. Surface_Area = Pi * r * (r + sqrt(r2 + h2)) and
C check uppercase or lowercase characters -
Code Step by Step descriptive logic to check Uppercase and Lowercase alphabets. Input a character from user. Store it in some variable say ch. Character is uppercase alphabet if(ch
Check Whether Two Strings are Anagrams -
Program takes two strings as input & checks whether two strings are anagrams. Take two strings as input and store them in the arrays array1[] array2[] respectively. In the function
C Armstrong Numbers Between 2 Integers -
Program Print Armstrong Numbers between two Integers. In case of an armstrong number of 3 digits, the Sum of Cubes of each digits is equal to the number itself. For example: 407
Paddle Graphic Sample in C Programming -
Sub functions to check the progress of the game, function to create paddle, functions to create bricks, clear a layer, produce various sounds, create a single brick, display symbol
Prefix Increment ++ Operator overloading -
The only difference is that, the return type of operator function is Check in this case which allows to use both codes ++obj; obj1 = ++obj;. It is because, temp returned from "operator"