Explaining Register variables in C with examples

A register is a small data storage location inside the processor, most of the time registers are used to hold memory locations, arithmetic/logical instructions etc. Registers can hold up to 64-bit data depending upon the processor.

Read More →

C program to find Modular Multiplicative Inverse of two Relatively Prime Numbers

In this article, we will learn how to create a program to calculate Inverse Modulo or Modular Multiplicative Inverse of two relatively prime numbers in C programming language but first, let us understand what is Inverse modulo.

Read More →

C program to Implement Stack using Linked List

A stack is a linear data structure and follows the last in first out rule, in this tutorial, we will learn how to implement stack using Linked List in C programming language.

Read More →

Binary Search Program in C using Recursion

Binary Search is a type of searching algorithm which works on a sorted array. It finds the target value(T) by comparing the target value(T) with the middle element of the array.

Read More →

Run Length Encoding (RLE) Program in Python

Run Length Encoding is a lossless data compression technique which converts repetitive chunks of data into single value and counts. This type of compression is suitable when data contains many such runs. RLE is mainly used in Graphics Interchange Format (GIF) files.

Read More →

C program to Implement Booth's Algorithm-Booth's Algorithm in C

Booth's Algorithm is a multiplication algorithm that multiplies two signed binary numbers in two's complement notation. The algorithm was invented by Andrew Donald Booth in 1950 while doing research on crystallography at Birkbeck College in Bloomsbury, London.

Read More →

C program to Calculate Hamming Distance of two Binary Strings

In the field of Information theory, Hamming distance of two equal length strings is the number of position at which the corresponding symbols are different or we can say that it is the minimum number of substitution required to change one string into other.

Read More →
Search
Adverstisement
Adverstisement