| Simple C Programs |
| Sr No |
Name of Programe |
|
| 1 |
Program to Find Sum and Average of Three Real Numbers |
|
| 2 |
Program to Find Area of Square and Circumference of a Circle |
|
| 3 |
Program to find Sphere Surface Area and Volume of a Sphere |
|
| 4 |
Program to Find Area of a Triangle using Hero Formula |
|
| 5 |
Program to Find Simple Interest and Compound Interest |
|
| 6 |
Program to Convert Temperature from Degree Centigrade to Fahrenheit |
|
| 7 |
Program to Convert Time in Seconds to Hours Minutes and Seconds |
|
| 8 |
Program to Swap Values of Two Variables using Third Variable |
|
| 9 |
Program to Swap Values of Two Variables Without using Third Variable |
|
| 10 |
Program to Calculate the Net Salary |
|
| |
|
|
Control Statements |
| 1 |
Program to Find Largest of Three Numbers |
|
| 2 |
Program to Check Whether a Character is Vowel or not by using switch Statement |
|
| 3 |
Program to Find the Sum of First 100 Positive Integers |
|
| 4 |
Program to Find the Sum of Even and Odd Numbers from First 100 Positive Integers |
|
| 5 |
Program to Find the Sum of Digits of a Positive Integer |
|
| 6 |
Program to Find Whether the Given Number is a Prime Number |
|
| 7 |
Program to Print First N Prime Numbers |
|
| 8 |
Program to Print a Table of any Number |
|
| 9 |
Program to Check Whether the Given Number is an Armstrong Number |
|
| 10 |
Program to Print the Numbers Which are Divisible by 3 and 5 from First 100 Natural Numbers |
|
| 11 |
Program to Find Whether a Number is Palindrome or Not |
|
| 12 |
Program to Find Factorial of a Number without using Recursion |
|
| 13 |
Program to Find Factorial of a Number using Recursion |
|
| 14 |
Program to Print Fibonacci Series without Recursion |
|
| 15 |
Program to Print Fibonacci Series using Recursion |
|
| 16 |
Program to Reverse a Given Number |
|
| 17 |
Program to Find Value of sinx using Expansion Series given below: |
|
| |
sin(x) = x - x3/3 + x5/5 - x7/7...... |
|
| 18 |
Program to Print the Pattern: |
|
| |
1
121
12321
1234321
123454321
12345654321
1234567654321
123456787654321
12345678987654321 |
|
| 19 |
Program to Find HCF of Two Numbers using Recursion |
|
| 20 |
Program to Find HCF of Two Numbers Without Recursion |
|
| 21 |
Program to Find Vowels in a String |
|
| 22 |
Program to Count Number of Words and Number of Characters in a String |
|
| 23 |
Program to Implement break Statement |
|
| 24 |
Program to Implement continue Statement |
|
| |
|
|
Array |
| 1 |
Program to Print Transpose of a Matrix |
|
| 2 |
Program to Add Two Matrices |
|
| 3 |
Program to Multiply Two Matrices
|
|
| 4 |
Program to Find Smallest Among N Numbers |
|
| 5 |
Program to Illustrate the Concept of Passing 1-D Array to Function |
|
| 6 |
Program to Illustrate the Concept of Passing 2-D Array to Function |
|
| |
Program to Sort an Array Using Bubble Sort |
|
| |
Program to Sort an Array Using Selection Sort |
|
| |
Program to Search an Array using Linear Search |
|
| |
|
|
| Strings |
| 1 |
Program to Concatenate Two Strings using strcat( ) |
|
| 2 |
Program to Concatenate Two Strings without using strcat( ) |
|
| 3 |
Program to Compare Two Strings using strcmp( ) |
|
| 4 |
Program to Compare Two Strings without using strcmp( ) |
|
| 5 |
Program to Copy String using strcpy( ) |
|
| 6 |
Program to Copy String without using strcpy( ) |
|
| 7 |
Program to Find Length of a String using strlen( ) |
|
| 8 |
Program to Reverse a String using strrev( ) |
|
| 9 |
Program to Reverse a String without using strrev( ) |
|
| 10 |
Program to Input-Output Strings using Character Functions |
|
| 11 |
Program to Input-Output Strings using gets( ) and puts( ) |
|
| 12 |
Program to Input-Output Strings using printf( ) and scanf( ) |
|
| 13 |
Program to Find Length of a String Without using strlen( ) |
|
| 14 |
Program to Find Whether a String is Palindrome or Not |
|
| 15 |
Program to Find Whether a String is Palindrome or Not without using String Functions |
|
| |
|
|
| Functions |
| 1 |
Program to Show Call by Value |
|
| 2 |
Program to Show Call by Reference |
|
| |
|
|
| Recursion |
| 1 |
Program to Find Factorial of a Number using Recursion |
|
| 2 |
Program to Print Fibonacci Series using Recursion |
|
| 3 |
Program to Find HCF of Two Numbers using Recursion |
|
| |
|
|
| Pointers |
| 1 |
Program to Illustrate the Concept of Pointers |
|
| |
|
|
| Structures |
| 1 |
Program to Implement Structure |
|
| 2 |
Program to Implement Structure with Array |
|
| 3 |
Program to Implement Structure with Function |
|
| 4 |
Program to Implement Structure with Pointers |
|
| |
|
|
| Searching & Sorting |
| 1 |
Program to Search an Element in the Array using Linear Search |
|
| 2 |
Program to Search an Array using Binary Search |
|
| 3 |
Program to Sort an Array using Bubble Sort |
|
| 4 |
Program to Sort an Array using Selection Sort |
|
| |
|
|
| File Handling |
| 1 |
Program to Write and Read a Character from a File |
|
| 2 |
Program to Write and Read an Integer from a File |
|
| 3 |
Program to Write and Read a String from a File |
|
| 4 |
Program to Write Data into a File using fprintf( ) |
|
| 5 |
Program to Read Data from File using fscanf( ) |
|
| 6 |
Program to Copy Contents of One File to Another |
|
| 7 |
Program to Print a File and Count Number of Characters
|
|
| |
|
|