loader image

C Programming Examples

Learn C programming by practicing c programming examples. C is a high-level and general-purpose programming language. It can be used to develop software like operating systems, databases, compilers, etc.

Programming Examples

Practice C programming examples.

C Programming Examples

C Program to find sum and reverse of a number

C program to display first n fibonacci numbers

C program to find first n fibonacci numbers

C program to display star pyramid

C program to to count number of words in a sentence

C program to check prime number

C program to find transpose of a matrix

C program to find sum of series

C program to display pattern with a number

C program to display short form of a string

C program to find currency denomination

C program to find armstrong number within a range

C program to find factorial of a number using recursion

C program to check palindrome string

C program to check leap year

C program to write odd and even numbers into different files

C program for base conversion

C program to merge two arrays

C program to fill upper triangle with 1, lower triangle with -1 and diagonal elements with 0