C Programming
Showing 121 - 140 of 146 results
This C program checks if a specific bit position in an integer is set to one or not. In binary...
- C Programming
- November 8, 2024
In C programming, comparing two numbers to check if they are equal is a basic operation. In this program, we...
- C Programming
- November 8, 2024
This C program implements an adjacency matrix for a graph. An adjacency matrix is a two-dimensional array where each element...
- C Programming
- November 7, 2024
In this C program, we will be adding two complex numbers. A complex number consists of a real part and...
- C Programming
- November 7, 2024
This C program converts decimal numbers to Roman numerals using a function called convertToRoman. It takes user input, checks if...
- C Programming
- November 7, 2024
This C program compares two strings entered by the user and determines their relationship based on lexicographical order. Problem statement...
- C Programming
- November 7, 2024
This C program finds all prime numbers in a given range. It prompts the user to enter the starting and...
- C Programming
- November 7, 2024
This C program checks whether a given number is a palindrome or not. What is a Palindrome? A palindrome is...
- C Programming
- November 7, 2024
This C program finds the sum of the first N natural numbers, where N is entered by the user. The...
- C Programming
- November 7, 2024
This C program checks whether a given number is prime or not using a recursive approach. A prime number is...
- C Programming
- November 6, 2024
The C program provided is designed to count the number of lines in a text file. It prompts the user...
- C Programming
- November 6, 2024
Intro This C program demonstrates how to delete an element from an array. It prompts the user to enter an...
- C Programming
- November 6, 2024
This C program performs matrix multiplication. Matrix multiplication is a fundamental operation in linear algebra, where two matrices are multiplied...
- C Programming
- November 6, 2024
In C programming, it is often necessary to swap the values of two variables. In this program, we will write...
- C Programming
- November 6, 2024
This C program calculates the sum of the first N natural numbers using a for loop. It iterates from 1...
- C Programming
- November 6, 2024
In C programming, it is often necessary to find the sum of the digits of a given number. In this...
- C Programming
- November 6, 2024
This C program demonstrates the binary search algorithm using recursion. Binary search is an efficient algorithm for finding a specific...
- C Programming
- November 5, 2024
This C program calculates the value of nCr (combination) using the formula n! / (r! * (n-r)!). It takes the...
- C Programming
- November 5, 2024
This C program finds the next lower power of 2 for a given integer using bitwise operations. Problem statement Given...
- C Programming
- November 5, 2024
This C program removes all repeated words in a given string. It prompts the user to enter a string, processes...
- C Programming
- November 4, 2024