Binary Tree using pointer in C

Introduction Here we will see example on binary tree using pointer in C programming language. The same concept can be used in other language to write program for binary tree. What is Binary Tree? Binary tree is an important class of tree in data structure. A node in binary tree can have at most two children, which are called sub-trees….

Find minimum of elements in Array

This example will show you how to find a minimum of elements in an Array using C program.

Find maximum of elements in Array

This example will show you how to find a maximum of elements in an Array using C program.

Reverse elements in Array

This example will show you how to reverse elements in an Array using C program.

Delete an Element from Array

This example will show you how to delete an element from an Array using C program.

Insert an Element into Array

How to insert element? This example will show you how to insert an element into an Array using C program. Insertion of an element in an existing array is also straight forward. So, you need to iterate through the array elements (if elements are already there in the array), then you need to find an appropriate index of the array…

Search an Element in Array

How to find element? This example will show you how to search an element in an Array using C program. Finding an element in an array is straight forward. You need to loop through the array elements and compare each element with the given or target element. If the element is found, an index of the element is returned otherwise…