C – Programming
(programs)
Q1) Write a program to insert and display
20 integers using array.
Q2) WAP to calculate sum of array elements
. Q3) WAP to count even elements of the array
Q4) WAP to add two 1D arrays.
Q5) WAP to multiply two 1D arrays.
Q6) WAP to count no of even and odd
elements from 50 integers using array.
Q7) WAP to search a particular element from
the list. Print the no of times the element is
present.
Q8) WAP to sort array elements using bubble
Sort.
Q9) WAP to add two matrices.
Q10) WAP to multiply two matrices.
Q11) WAP to print transpose of a matrix.
Q12) WAP to check whether the entered
matrix is symmetric or not a symmetric.
Q13) WAP to print diagonal elements of
Matrix of size 3*3.
Q14) WAP to check whether the entered
String is palindrome or not.
Q15) WAP to calculate the length of a string
without using strlen ().
Q16) WAP to print reverse of string without
using strrev ().
Q17) WAP to concatenate two strings with-
out using strcat ().
Q18) WAP to compare two strings.
Q19) WAP to passing array elements to a
function using call by value.
Q20) WAP to passing array elements to a
function using call by reference.
Q21) WAP to passing entire array to a
function.
Q22) WAP to display value and address of a
variable using pointer.
Q23) WAP to print array elements using
Pointer.
Q24) WAP to maintain records of 100 student
using structure.
Q25) WAP to maintain records of 100 student
. Print the name & id of student whose
birth month in march.
Q26) WAP to copy contents of one file to
another.
Q27) WAP using conditional compilation.