Showing 21 - 40 of 135 results
This C program uses recursion to reverse a given number. Recursion is a process in which a function calls itself...
This C program reads a file, deletes a specific line chosen by the user, and writes the modified content back...
In C programming, a union is a user-defined data type that allows storing different data types in the same memory...
This C program counts the number of lines, blank lines, and comments in a given program file. It reads the...
This C program finds the union and intersection of two arrays. It takes two arrays as input and computes the...
This C program converts a Roman numeral to a decimal number. Roman numerals are a system of numerical notation used...
In this C program, we will calculate the volume and surface area of a cube. A cube is a three-dimensional...
This C program finds the Greatest Common Divisor (GCD) and the Least Common Multiple (LCM) of two given numbers using...
Introduction This C program prints a diamond pattern based on the number of rows provided by the user. It uses...
In programming, it is often necessary to count the number of vowels and consonants in a sentence. In this program,...
This C program converts a decimal number into its hexadecimal representation. Hexadecimal (or hex) is a base-16 numbering system that...
This C program calculates and compares the perimeters of three different geometric shapes: a circle, a rectangle, and a triangle....
This C program showcases the implementation of a Bit Array data structure. A Bit Array, also known as a Bitset,...
This C program is designed to count the number of trailing zeros in the binary representation of an integer. Trailing...
This C program finds missing numbers in an array. It takes an array as input and prints the numbers that...
This C program allows you to delete a specific line from a file. It takes the name of the file...
This C program calculates the volume and surface area of a sphere using its radius. A sphere is a three-dimensional...
This C program calculates the sum of the first N natural numbers using recursion. Problem Statement The program should perform...
This C program converts a binary number to its corresponding Gray code using recursion. Binary Code: Binary code is a...
This C program converts a given number of days into years, months, and remaining days. It uses a function called...