Home2023Page 13

2023

Showing 241 - 260 of 2959 results
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...
This C program calculates the sum of the first N natural numbers using recursion. Problem Statement The program should perform...
This C program calculates the length of a given string. Problem Statement Write a program that calculates the average of...
This C program converts an octal number to its equivalent decimal representation. Octal is a base-8 number system that uses...
This C program counts the number of lines, blank lines, and comments in a given program file. It reads the...
This C program converts an octal number to its equivalent binary representation. Converting numbers between different number systems is a...
This C program converts a binary number to its corresponding Gray code using iterative methods. Gray code, also known as...

Categories

Archives