Download C Programs


Simple Programs using Input/Output and Operators
Program to find Area of circle
Program to find Area of Cylinder
Program to find area of Rectangle
Program to find area of Triangle
Program to convert Celcius into Feranhit
Program to convert Feranhit into Celcius
Program to swap two numbers using three variables
Program to swap two numbers using only two variables
Program to find Maximum from Two Numbers using conditional operaor
Program to find Maximum from Three Numbers using conditional operaor
Program to convert given days into year,month and remaining days
Programs Using If...Else Statements
Program to check weather given number is positive, negative or zero.
Program to find weather given number is ODD or EVEN
Program to find maximum from two numbers
Program to find maximum from three numbers
Program to read number until you entered positive number
Program to find roots of quadratic equation
Program to calculate electricity bill
<120 unit 4Rs/Unit
>120 and <=320 4.5 Rs/Unit
>320 and <=420 5.0 Rs/Unit
>420 6.0 Rs/Unit
Program to find entered year is leap year or not
     
Programs Using Switch Case Statement
 Program to make simple calculator using swich case
Programs Using For Loop
Program to find factorial of given number
Program to generate fibonaci searise upto desired terms
Program to find weather given number is prime or not
Program to find sum upto given number starting from 1
Program to display following triangle
1
22
333
4444
55555
Program to display following triangle
1
12
123
1234
12345
Program to display following triangle
1
3 5
7 9 11
13 15 17 19
21 23 25 27 29
Program to display multiplication table
Program to find power of given number
Program to find odd number between 1 to 50
Program to Display number that is divisible by 5 and 7 between 1 to 100
Programs Using While Loop
Program to count total number of odd digits in a given number and find sum of them
Program to find reverse of given number
Program to find weather given number is perfect or not. Hint: sum of digits = multiplication of digits
Program to find weather given number is Armstrong or not. Hint: 153 = 13 + 53 + 33 = 1 + 125 + 27 = 153
Program to find maximum digit from given number
Programs Using One Dimensional Array
Program to create an array of 10 integer. Enter values for 10 elements and display it
Program to find sum of all the elements of array
Program to find maximum number from an array of 10 elements
Program to arrange elements of an array in ascending order
Program to display ODD numbers from 1-D array
Program to display EVEN numbers from 1-D array
Programs Using Two Dimensional Array
Program to create an array of 3 X 3. Enter values and display it
Program to add two 3 X 3 matrices
Program to multiply two 3 X 3 matrices
Program to find maximum number from 2-D array
Programs Using String Handling Functions
Program to find length of the string
Program to copy one string into another string
Program to concate two strings
Program to compare two strings
Program to reverse given string
Program to find one string into another string
Programs Using Structure
Declare a structure named “library” which will contains data members:
bookno, bookname, price, publication.
Read and print the structure
Create a structure named student that accepts student rollno, name, gender and marks of 3 subjects.
Find total of marks and percentage.
Create an array of structure variable to enter information for three students
Create a structure named cricket that accepts cricketer name , team name, average and highest score.
Enter values for 5 cricketer and display it using concept of array of structure
Program shows the use of Structure within Structure
Programs Using User Define Function
Program using User Define Function to find sum of three numbers
Program using User Define Function to find average of three numbers
Program using User Define Function to find maximum from two numbers
Program using User Define Function to find power of given number.
Program using User Define Function to find maximum from three numbers
Program using User Define Function to find factorial of given number (Use Recusrsion).
Programs  Using File Management Functions
Program to write characters into File
Program to Read characters From File
Program to write characters into File , Read Characters from File and Display on Screen
Program to write Integer Number into File, Read Integer numbers from FILE and Display on Screen
Program to write 10 Integer Numbers into File and then read numebrs from FILE. If number is even then write them to even.txt file. If number is odd then write them to odd.txt File
Program to Copy one file into another file using Command Line Argument
Program to show use of Random Access File Function

Download Projects


Download Programs