List of C Programs
List of C Programs
MODULE – 2
1) Program to determine whether a person is eligible to vote using if.
2) Program to determine whether a person is eligible to vote using if-else statement.
3) Program to find the largest of three numbers using Nested if else statement.
4) Program to print the grade obtained by the student based on the given table using else-
if ladder.
MODULE -3
1) C program to read and print 1D Array
2) C program to find transpose of a matrix
3) C program to add 2 matrices
4) C Program to multiply 2 matrices
5) Assigning the values: Program to print 2,4,6,8-----20 using arrays.
6) Program to print 2,4,6,8-----20 using arrays by read the N value ( assigning the
values)
7) Initialize the array value
8) Sum of N numbers using 1D array.
9) Sum and average using arrays
10) Sum of numbers using arrays
11) Read and display of array elements
12) Linear Search Program
13) Binary Search Program
14) Bubble Sort Program
15) Selection Sort Program
16) Read and display of 2D Matrix
17) C Program to copy the contents of an 1D-array to another 1D-array using for loop.
18) C Program to print the contents of an 1D-array in reverse order.
MODULE - 4
1) Sum of 2 numbers using functions
2) Greatest of 2 Nos using functions
3) Sum of N Numbers using functions
4) Function with no arguments and No return values – addition of 2 Nos
5) Function with No arguments and with return values – addition of 2 Nos
6) Function with arguments and with no return values – addition of 2 Nos
7) Function with arguments and with return values – addition of 2 Nos
8) Write a program to swap 2 numbers using CALL BY VALUE
9) Write a program to swap 2 numbers using CALL BY REFERENCE
10) Write a program to find the factorial of a number using functions
11) C program using pointers to compute the sum of given array elements
{10,20,30,40,50}
12) C program using pointers to compute the sum and mean of all elements stored in
an array of n real numbers
MODULE – 5