 # Php Programming Code Examples

## Php > Code Snippets Code Examples

### Check number of characters in a range

C Code Reverse the Stack using Recursion - C program code, 'using recursion', reverses a Stack content. Stack here is represented use a linked list. A Linked List is an ordered set of "Data Elements", each containing a link to its

Get Highest Frequency Character in String - C Program finds 'highest frequency' character in a string. C Program checks which character has 'occured more number' of times & checks how many times these character has occured

C++ Find Chromatic Index of Cyclic Graph - Algorithm finds the "Chromatic Index" of the given cyclic graph. It takes the input of vertex pairs for the given number of edges. Assigns a 'color to edges' without assigning the same

Sum of Natural Numbers using Recursion - C Program find the sum of Natural Numbers using recursion. The 'Positive Numbers' 1, 2, 3... are known as natural numbers. Program below takes a positive integer from the user

C realloc() Allocates size bytes of Memory - If ptr is null, realloc() allocates size bytes of memory and returns a pointer. If size is zero, the memory pointed to by ptr is freed. There is an error give message: Allocation Error...

C Program Find Day when a Date is given - Don't U know that there is no month greater than 12. Enter valid month Once again enter the Date Month Year. Fool, Invalid date in February of non leap year. The maximum...

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

C++ Sample Codes Implement Merge Sort - Merge-Sort is based on an algorithmic design pattern called Divide & Conquer. It forms tree structure. The height of the tree will be log(n) And we merge n element at every level of the