A collection of programs written in C programming language which will help in developing programming concepts like basic syntax, loops, arrays, data structures, file handling etc.
Basic syntax
- C Program to Calculate Simple Interest
- C Program to convert given number of days into years days and weeks.
- C Program to print ASCII value of a character
If/else
Loops
- C Program for conversion of decimal to binary
- C Program for conversion of binary to decimal
- C program for fibonacci series
- C Program to check prime number
- C Program to find sum of digits of an integer
- C Program to find the greatest of 10 numbers
- C Program to print table of a number
- C Program to reverse a number
Pattern
Series
Switch-Case
Arrays
- C program to create and print 3×3 matrix
- C program to create and print MxN matrix
- C Program for matrix addition
- C program for matrix multiplication
- C program for insertion and deletion of an element in an array
- Write a C program to convert a matrix to a sparse matrix and perform addition on two sparse matrices.
- Sparse matrix multiplication
- Sparse matrix transpose
Structures
Strings
- C program to change case of a string
- C Program to compare strings without using strcmp
- C program to concatenate strings without using strcat
- C program to count number of vowels in a string
- C program to make string lower case
- C program to reverse a string
- C Program to upper case string without using strupr
- String Palindrome program in C language
Pointers
- C Program to find sum of elements of an array using pointers
- C Program to find average of elements of an array using pointers
- C Program To swap two numbers using pointers
Recursion
Sorting and Searching
- C Program for binary search
- C Program for linear search
- C Program for bubble sort
- C Program for insertion sort
- C Program for selection sort
File Handling