C Programming

Showing 81 - 100 of 146 results
This C program calculates the area of a rhombus using the lengths of its diagonals. It demonstrates a function to...
This C program finds and prints all non-repeated elements in an array. It provides a solution to identify unique elements...
This C program evaluates a polynomial equation for a given value of x. Problem Statement Write a C program to...
This C program converts a decimal number to its binary representation using recursion. It takes a decimal number as input...
The Magic Squares puzzle is an intriguing mathematical problem that involves arranging numbers in a square grid such that the...
This C program calculates the area of a parallelogram using the base and height provided by the user. Problem statement...
This C program calculates and displays the position of the highest bit set (most significant bit) for a given integer....
This C program calculates the value of cos(x) using the Taylor series expansion. It takes the value of x as...
This C program converts time from the 12-hour format (HH:MM AM/PM) to the 24-hour format (HH:MM). It takes the input...
This C program checks whether a given integer has an alternate pattern, i.e., whether the binary representation of the integer...
Intro This is a C program that enables users to manage employee records through a menu-driven interface. The program uses...
In this program, we will write a C program to find the Nth Armstrong number. Problem Statement: We need to...
This C program prints the name of the program and all its command-line arguments. In C programming, command-line arguments allow...
In this C program, we aim to determine the number of elements present in an array. The program takes an...
In programming, it is often necessary to find the number of integers divisible by a certain number. In this program,...
This program adds two binary numbers in the C programming language. Problem Statement Given two binary numbers as input, write...
This C program checks whether a given number is a palindrome or not, where the number is entered by the...
This C program converts an octal number to its equivalent decimal representation. Octal is a base-8 number system that uses...
This C program reverses a given number, where the number is entered by the user. The program then prints the...
In C programming, it is often necessary to check whether a given number is even or odd. An even number...