PSYCHOCODES

C program to find the Number of Elements in an Array-Length of an Array in C

Programming languages like Python, Java, PHP, JavaScript etc have predefined functions for finding the length of an array but when it comes to C there is no ready-made function for such operation so in this tutorial we will learn how to find the number of elements present in an array using C.

Read more

Tribonacci Series Program in C and C++

Tribonacci Series is the Successor of Fibonacci Series in which each element is the sum of the previous three consecutive elements.

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 Sort Array Elements in Ascending or Descending Order-Bubble Sort

An array sometimes need to be sorted in our preferred manner so as to get get better accessible data or just for convenience. Here you will learn how to sort an array in two ways - Ascending Order and Descending Order. 

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

Find smallest and largest element in an array-C program

Arrays are easy just add square brackets and you get an array. At Least easier than array using linked lists anyways, In this tutorial we will learn how to find out the largest and smallest element of an array by making a C program.

Read more

Exponential Program-x power n-using Recursion in C

In this article you will learn how to make a C program to Calculate numbers having power n and Exponents having power n with easy and simple explanation and full code.

Read more