HomeC Programming

C Programming

Showing 1 - 20 of 146 results
This C program calculates the volume and surface area of a sphere using its radius. A sphere is a three-dimensional...
This C program converts a Roman numeral to a decimal number. Roman numerals are a system of numerical notation used...
This C program calculates the value of sin(x) using the Taylor series expansion. The Taylor series expansion is a mathematical...
This C program calculates the square root of a given number using the Newton-Raphson method. The Newton-Raphson method is an...
The C program provided is designed to count the number of lines in a text file. It prompts the user...
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....

Categories

Archives