List is a type of dynamic data structure which rectifies certain drawbacks of Stacks...

# All Articles

A Queue is a First In First Out (FIFO) which is an ordered collection...

Game Tree is one of the applications of Binary Trees. For example the one...

Case 1: A list could be represented as a Binary Tree with all the...

Huffman trees are used as message encoding and message decoding trees which is the...

Threaded Binary Trees are those in which the NULL right pointers of all nodes are...

A Binary Search is such a Binary Tree in which the info field of any...

Binary Trees are one of the core data structures used in any programming language...

Here is a C program which accepts an integer and prints out sum from...

Hailstones is a sequence of numbers that could be generated from any positive number...

Here is a C program to generate random numbers between any range of two...

The ‘for’ loop is another important looping structure which could replace ‘while’ and ‘do...

Below is a C program to test for a prime number – main(){ float...

Here is a C program that I wrote years back to implement Russian Peasant...

Here is an implementation of while loop in C to find numbers whose sum...

Here is a simple C program to find circumference and area of a circle from...

Like do-while loop, While loop is the most commonly used looping construct to repeat...

Here is a simple C program to find the sum of squares of first...

Below are simple C programs for beginners to learn if-else decision construct. Example 1:...

Here is a C program to check for leap year – main () {...

C programming language allows to define and classify data so we can use it...

C language developed at Bell lab by Dennis Ritchie on UNIX environment. UNIX was...

Below is an example Recursive C program to perform Binary – int binsearch(int low,...

Below is an example recursive C program to return Fibonacci series for a given...

Here is a C program to find a factorial by recursive method – int...

Simple bubble sort in C – for (i=0; i<n-1; i++){ for(j=i+1; j<n; j++){ if(x[j]...

Below is an example to represent a Tree structure in C using struct

Below is a simple C program to perform file operation – include <stdlib.h> main()...

Writing C programs for numerical differentiation is interesting and fun. Here is one that...

Gregory Newton Backward Interpolation Method can be used to derive difference formula when the...

Below is a C program to evaluate forward difference and thus print a forward difference...

Below is an amazing solution to prove that when n=2, Lagranges interpolation formula reduces to...

One of the fastest growth rates in the telecommunications industry anywhere in the world...

Olden form of phone systems involved manual exchanges which involved a great task in...

It’s helpful for data communication and IT students to understand the evolution of Data...

Data Communications is the function of transferring a digital signal from one digital device...

Below is sample C program to convert a postfix string to prefix form. Also...

Below is sample C program to convert a prefix string to infix form. Also...

Below is an example that I prepared for preorder and postorder traversal of a...

Below is the algorithm and C routine for traversing a Binary Tree in postorder....

A binary tree can be traversed in two basic ways – preorder and postorder....

Binary Tree is a basic data structure that is used behind the scenes of...

Below is the solution to test convergence of a sample Logarithmic series –

Below is a sample problem and its solution to find maximum power transmitted in...

Below is the solution to find power transmitted by a belt given maximum permissible...

Here is a problem involving V-belt where we calculate the maximum power transmitted from...

Here is an interesting solution to find velocity and maximum power transmitted –

Here is an interesting problem and solution to calculate torque and power transmitted of...

Its interesting to use the mechanical formulas to find maximum power transmitted and initial...

Here is a real life mechanical problem to solve – Two parallel shafts whose...

Question: A leather belt transmits 30 KW from a pulley 750 mm diameter which...

Question: An electric motor provides 6.6 KW to a belt driven pulley 125 mm in...

Jacobi’s Iteration method is an interesting method to solve equations by simple iteration method....

Here is an excellent example of Gauss Seidal elimination method to solve a set...

Here is an intelligent and simple way to find the inverse of a matrix...