C Programming

Showing 21 - 40 of 146 results
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...
This C program demonstrates how to print a semicolon without using the semicolon character itself. Problem Statement Write a C...
In this C program, we aim to determine the number of elements present in an array. The program takes an...
This C program calculates the area of a triangle using the formula: area = 0.5 * base * height. Problem...
In this C program, we will calculate the power of a number using the exponentiation operator. We will take the...
In this C program, we will be adding two complex numbers. A complex number consists of a real part and...
This C program calculates the area of a circle using its radius. Problem Statement C Program to Find the Area...
This C program finds the Greatest Common Divisor (GCD) and the Least Common Multiple (LCM) of two given numbers. The...
This C program finds the Greatest Common Divisor (GCD) of two given numbers. Problem Statement Write a C program that...
This C program finds the Least Common Multiple (LCM) of two given numbers. Problem Statement Write a C program that...

Categories

Archives