C Examples
C Program to Find GCD of Two Numbers
In this example, you will learn to find the GCD or HCF of two given numbers. GCD is known as ...
C Program to find LCM of two numbers
In this example, you will learn to find the LCM of two numbers using a c program. LCM is also ...
C Program to Find Factorial of a Number
Factorial program in C: In this article, you will explore how to find the factorial of a given number in ...
C Program to Display Fibonacci Sequence
In this article, you will learn to generate the Fibonacci sequence of n terms in multiple ways. Below are the ...
C Program to Generate Multiplication Table
In this example, you will learn to generate a multiplication table up to 10 for the given number. Program to ...
C Program to Check Whether a Character is an Alphabet or not
In this example, you will learn to check a given character is alphabet or not. In C language, every character ...
C Program to Calculate the Sum of Natural Numbers
In this example, you will learn to calculate the sum of first n natural numbers. Mathematically, the sum of n ...
C Program to Find the Roots of a Quadratic Equation
In this example, you will learn to find the roots of a quadratic equation. A quadratic equation will have two ...
C Program to Check Leap Year
In this example, you will learn to find a given year is a leap year or not. We all know ...
C Program to Find the Largest Number Among Three Numbers
In this example, you will learn to find the largest number among the three numbers. In example 1 we will ...