## Queues and its implementation in C

A Queue is a First In First Out (FIFO) which is an ordered collection of items which are deleted at the front end and inserted...

Skip to content
##
Technology Articles Blog

#
Month: March 2020

##
Queues and its implementation in C

##
Game Trees

##
Representing Lists As Binary Trees in C

##
HUFFMAN Algorithm and its implementation in C

##
Threaded Binary Tree and its implementation in C

##
Traversing a Binary Tree in C

##
C program implementing Binary Tree Search to find duplicates of a file

##
Binary Tree representation and Primitive Operations on a Binary Tree in C

##
C program to print sum up-to each individual preceding number until the entered number

##
C program for Hailstones series

##
C program to generate random numbers in any range

##
for loops in C

##
C program to test for a prime number

##
C program to implement Russian Peasant

##
C program to find numbers whose sum of cubes of individual numbers is that number

##
C program to find circumference and area of a circle from given radius

##
While Loop in C

##
C program to find the sum of squares of first n natural numbers

##
Do – While Loops in C

##
Sample C program showing if – else constructs

##
C Program to check for leap year

##
Making decision in C program

Technology Articles Blog

A Queue is a First In First Out (FIFO) which is an ordered collection of items which are deleted at the front end and inserted...

Game Tree is one of the applications of Binary Trees. For example the one implemented for the Tic-Tac-Toe Game. X | X | X O...

Case 1: A list could be represented as a Binary Tree with all the list elements along with their information at the leaf nodes. For...

Huffman trees are used as message encoding and message decoding trees which is the basic construct of compression and de. The specialty of Huffman tree...

Threaded Binary Trees are those in which the NULL right pointers of all nodes are THREADED to its immediate inorder successor in the Binary Tree. Such...

There are generally 3 traversal strategies for Binary Trees – INORDER, PREORDER and POSTORDER. For eg:, the inorder, preorder and postorder traversal of an expression tree...

A Binary Search is such a Binary Tree in which the info field of any of the nodes to the left of a particular node nd...

Binary Trees are one of the core data structures used in any programming language to implement complex systems. C programming language offers various binary tree...

Here is a C program which accepts an integer and prints out sum from 1 to 1, 1 to 2, 1 to 3 …… 1...

Hailstones is a sequence of numbers that could be generated from any positive number by performing a specific operation on it until it reaches 1....

Here is a C program to generate random numbers between any range of two digit numbers – #include #include main(){ int s, a, b, n,...

The ‘for’ loop is another important looping structure which could replace ‘while’ and ‘do .. while’ loops. It has a special feature that the initialization,...

Below is a C program to test for a prime number – main(){ float n, count = 0; i = 3; a; printf("\nEnter any number...

Here is a C program that I wrote years back to implement Russian Peasant method of an interesting multiplication technique – main(){ int a, b,...

Here is an implementation of while loop in C to find numbers whose sum of cubes of individual numbers is that number. You can go...

Here is a simple C program to find circumference and area of a circle from given radius – main(){ float r, pi = 3.1416, c, area;...

Like do-while loop, While loop is the most commonly used looping construct to repeat a process or calculation for a set or collection of inputs...

Here is a simple C program to find the sum of squares of first n natural numbers using do-while looping construct – main(){ int n,...

Looping constructs is an important programming language technique to repeat a process or calculation for a set or collection of inputs or storage based on...

Below are simple C programs for beginners to learn if-else decision construct. Example 1: Program to check if a number is odd or even main...

Here is a C program to check for leap year – main () { int year; printf("Please enter any year as 4 digits>> "); scanf("%d",...

Decision making is an important aspect of programming language that enables the programmer to arrive at a conclusion based on certain data processing, comparisons and conditional...