# C Programming Examples

Last updated on July 27, 2020

- C Program to find the sum of digits of a number
- C Program to find the factorial of a number
- C Program to find Armstrong numbers
- C Program to find Prime Numbers
- C Program to generate Fibonacci sequence
- C Program to find the sum of the digits of a number until the sum is reduced to a single digit
- C Program to count the number of digits in a number.
- C Program to reverse the digits of a number
- C Program to find the sum of natural numbers upto N terms
- C Program to check whether the number is even or odd.
- C Program to find the roots of a Quadratic equation
- C Program to print Triad Numbers
- C Program to multiply two numbers using Russian peasant method
- C Program to find number of denominations for a given amount
- C Program to check whether the number is a Palindrome
- C Program to determine the type and Area of a Triangle
- C Program to print Twin prime numbers between two ranges
- C Program to print the two digit number in words
- C Program to calculate the power of a number
- C Program to find the largest of three numbers
- C Program to find the product of digits of a number
- C Program to calculate Permutation and Combination
- C Program to find LCM and HCF of two numbers

### Arrays #

- C Program to find the maximum and minimum element in the array
- C Program to reverse the elements of an array
- C Program to sum the elements of an array
- C Program to find the count of even and odd elements in the array
- C Program to add two Matrices
- C Program to multiply two matrices
- C Program to find the transpose of a matrix
- C Program to search for an item using Linear Search
- C Program to search for an item using Binary Search
- C Program to sort an array in ascending order using Bubble Sort

### Strings #

### Recursion #

- C Program to calculate Factorial using recursion
- C Program to calculate the power using recursion
- C Program to print Fibonacci Sequence using recursion
- C Program to reverse the digits of a number using recursion
- C Program to convert a decimal number to binary, octal and hexadecimal using recursion

### Conversion related #

- C Program to convert a decimal number to a binary number
- C Program to convert a decimal number to a hexadecimal number
- C Program to convert a decimal number to an octal number
- C Program to Convert a Binary Number to a Decimal Number
- C Program to convert the temperature in Fahrenheit to Celsius
- C Program to convert a decimal number to Roman numerals

### Date and Time related #

- C Program to check whether a year is a leap year
- C Program to check whether a date is valid or not
- C Program to print the earlier of the two dates
- C Program to calculate the difference of two dates in years, months and days
- C Program to calculate the day of year from the date
- C Program to print the date in legal form

### C Program for printing patterns #

- C Program to print various triangular patterns
- C Program to print Pascal Triangle
- C Program to print Floyd’s Triangle

Load Comments