C programs

Showing 121 - 135 of 135 results
Intro This C program demonstrates how to delete an element from an array. It prompts the user to enter an...
This C program performs matrix multiplication. Matrix multiplication is a fundamental operation in linear algebra, where two matrices are multiplied...
In C programming, it is often necessary to swap the values of two variables. In this program, we will write...
This C program calculates the sum of the first N natural numbers using a for loop. It iterates from 1...
In C programming, it is often necessary to find the sum of the digits of a given number. In this...
This C program demonstrates the binary search algorithm using recursion. Binary search is an efficient algorithm for finding a specific...
This C program calculates the value of nCr (combination) using the formula n! / (r! * (n-r)!). It takes the...
This C program finds the next lower power of 2 for a given integer using bitwise operations. Problem statement Given...
This C program removes all repeated words in a given string. It prompts the user to enter a string, processes...
ASCII (American Standard Code for Information Interchange) is a character encoding standard that represents characters using numeric codes. Each character...
This C program converts a binary number to its decimal equivalent using the power of 2. It takes a binary...
In computer programming, bitwise operations are frequently used to manipulate individual bits in a binary representation of data. One common...
In this C programming tutorial, we will write a program to find the sum of even and odd numbers from...
This C program calculates the square root of a given number using the Newton-Raphson method. The Newton-Raphson method is an...
This C program checks whether a given string is a palindrome or not without using any built-in string reversal function....