C Programming

Showing 101 - 120 of 146 results
Introduction This C program calculates the Nth Fibonacci number using recursion. The Fibonacci sequence is a series of numbers in...
This C program converts an octal number to its equivalent binary representation. Converting numbers between different number systems is a...
This C program checks whether a given number is prime or not, where the number is entered by the user....
This C program finds the frequency of a substring in a given string. Problem statement You are required to write...
This C program calculates and displays the position of the highest bit set (most significant bit) for a given integer....
This C program finds the Highest Common Factor (HCF) of two given numbers without using recursion. Problem statement Write a...
This C program finds the Greatest Common Divisor (GCD) and the Least Common Multiple (LCM) of two given numbers. The...
This C program calculates the compound interest for a given principal amount, interest rate, and time period. It utilizes the...
This C program calculates the simple interest based on the principal amount, interest rate, and time period. It applies the...
In this program, we will write a C program to read a file and capitalize the first letter of each...
The Snake Game is a classic video game where the player controls a snake that moves around a grid or...
This program calculates the factorial of a given number using recursion. Problem statement Given a positive integer, we need to...
This C program implements the Fizzbuzz problem, a classic programming exercise. It prints numbers from 1 to a given limit,...
This program prints all Armstrong numbers between 1 and 100 in the C programming language. Problem Statement Given a range...
In this program, we will write a C program to find the sum of each row and column of a...
This program calculates the sum of the first n natural numbers using recursion in the C programming language. Problem Statement...
This C program finds the first N Fibonacci numbers and displays them. Problem statement Write a C program to find...
This C program calculates the sum of the cos(x) series for a given angle and number of terms. It provides...
This C program calculates and displays the upper triangular matrix of a given square matrix. An upper triangular matrix is...
This C program demonstrates how to replace a specific line in a text file. Text file manipulation is a common...