August 2023

Showing 41 - 60 of 89 results
This C program calculates and displays the position of the highest bit set (most significant bit) for a given integer....
This C program performs cyclic permutation (rotation) of the elements in an array to the right. Cyclic permutation is an...
This C program performs matrix multiplication. Matrix multiplication is a fundamental operation in linear algebra, where two matrices are multiplied...
This C program calculates and displays the transpose of a given matrix. The transpose of a matrix is obtained by...
This C program implements an adjacency matrix for a graph. An adjacency matrix is a two-dimensional array where each element...
This C program checks if a specific bit position in an integer is set to one or not. In binary...
This C program finds and prints all possible subsets of a given string. A subset of a string is a...
This C program calculates and displays the position of the highest bit set (most significant bit) for a given integer....
This C program solves the Magic Squares puzzle, a mathematical challenge where a square matrix is filled with distinct positive...
This C program demonstrates how to replace a specific line in a text file. Text file manipulation is a common...
This C program checks whether a given number is prime or not using a recursive approach. A prime number is...
This C program allows you to find the length of a linked list, which is the number of nodes present...
This C program converts a decimal number into its hexadecimal representation. Hexadecimal (or hex) is a base-16 numbering system that...
This C program demonstrates how to reverse a stack using recursion. A stack is a linear data structure that follows...
This C program calculates and compares the perimeters of three different geometric shapes: a circle, a rectangle, and a triangle....
This C program illustrates the computation of the height of a binary tree using a recursive algorithm. In computer science,...
This C program demonstrates the binary search algorithm using recursion. Binary search is an efficient algorithm for finding a specific...
This C program demonstrates addition using bitwise operators. Bitwise operators are efficient for performing arithmetic operations at the binary level....
This C program converts a binary number to its corresponding Gray code using recursion. Binary Code: Binary code is a...
This C program evaluates a polynomial equation for a given value of x. Problem Statement Write a C program to...

Categories

Archives