C

Examples

Display Armstrong Number Between Two Intervals

Calculate the power using recursion

Display Prime Numbers Between Intervals Using Function

Find the Roots of a Quadratic Equation

Find the Largest Number Among Three Numbers

Find G.C.D Using Recursion

Generate Multiplication Table

Find Transpose of a Matrix

Find Largest Number Using Dynamic Memory Allocation

Find Largest Element in an Array

Calculate Average Using Arrays

Remove all Characters in a String Except Alphabets

Calculate Standard Deviation

Find the Size of int, float, double and char

Find the Length of a String

Sort Elements in Lexicographical Order (Dictionary Order)

Add Two Distances (in inch-feet system) using Structures

Write a Sentence to a File

Add Two Integers

Multiply two Matrices by Passing Matrix to a Function

Print Triangle, Pyramid, Pascal's Triangle, Floyd's Triangle, etc.

Store Information (name, roll and marks) of a Student Using Structure

"Hello, World!" Program

Print an Integer (Entered by the User)

Add Two Complex Numbers by Passing Structure to a Function

Multiply Two Floating-Point Numbers

Access Array Elements Using Pointer

Find ASCII Value of a Character

Check whether a number is palindrome or not

Check whether a number is prime or not

Swap two numbers

Reverse a sentence using recursion

Display characters from a to z using loop

Display fibonacci sequence

Check whether a number is even or odd

Calculate the power of a number

Swap numbers in cyclic order using call by reference

Find factorial of a number

Count number of digits in an integer

Check whether a character is an alphabet or not

Display factors of a number

Make a simple calculator using switch...case

Copy string without using strcpy()

Check whether a character is a vowel or consonant

Read the first line from a file

Compute quotient and remainder

Check leap year

Check whether a number can be expressed as sum of two prime numbers

Check prime or armstrong number using user-defined function

Find factorial of a number using recursion

Find the sum of natural numbers using recursion

Check whether a number is positive or negative

Find the frequency of characters in a string

Multiply two matrices using multi-dimensional arrays

Concatenate two strings

Add two matrices using multi-dimensional arrays

Display its own source code as output

Calculate the sum of natural numbers

Calculate difference between two time periods

Reverse a number

Find lcm of two numbers

Convert binary number to octal and vice-versa

Convert binary number to decimal and vice-versa

Count the number of vowels, consonants and so on

Demonstrate the working of keyword long

Display prime numbers between two intervals

Check armstrong number

Find gcd of two numbers

Store information of students using structure

Store data in structures dynamically

Convert octal number to decimal and vice-versa