Sei sulla pagina 1di 2

List of Experiment for C Programming

Following programs listed topic wise to perform experiment in C programming lab,.

Array and Strings


1. WACP to sum of array elements.
2. WACP to find out largest element of array.
3. WACP to find out smallest element of array.
4. WACP to check entered number is even, odd, positive or negative.
5. WACP to store sum of two array elements in to third array.
6. WACP to perform Bubble sort.
7. WACP to arrange element of an array in descending order.
8. WACP to merge 2 sorted arrays in to third array. Third array should be in sorted order.
9. WACP to send all the elements of an array to the end with-out altering the original sequence i.e. if
array contains 5,-4,3,-2,6,-11,12,-8,9 then the resultant array should be 5,3,6,12,9,-4,-2,-11,-8.
10. WACP to perform linear search.
11. WACP to that perform Binary search.
12. WACP to find frequency of each element in array.
13. WACP to delete a given number from a five element array.
14. WACP to remove duplicate element from a given array.
15. WACP to find out kth smallest element from an unsorted array.
16. WACP to arrange an array in reverse order using second array.
17. WACP to read values in 3*3 matrices and print it.
18. WACP to find inverse of 3*3 matrices.
19. WACP to check whether a given square matrix is symmetric or not.
20. WACP to that perform of addition of two matrices.
21. WCAP to add two matrices without using third matrix.
22. WACP to that perform multiplication of two matrices.
23. WCAP to perform multiplications of two matrices without using third matrix.
24. WACP to that perform transpose of matrix.
25. WACP to print lower triangle of a matrix as
A= 1 2 3
i. 4 5 6
ii. 7 8 9
lower triangle = 4
iii. 7 8
26. WACP to that print Diagonal element of matrix and print the sum of element.
27. WACP to perform addition of two 3D array elements.
28. WACP to enter your name and print it.
29. WACP to find out length of given string.
30. WACP to print reverse of string.
31. WACP that count number of vowels in string.
32. WACP that count number of word in a text line.
33. WACP to count spaces, tabs, words into string.
34. WACP to check string is palindrome or not.
35. WACP to convert lower case into upper case.
36. WACP to convert string into proper case.
37. WACP to convert a string into lower case.
38. WACP to arrange a set of fruits names given below in descending order ( MANGO, BANANA,
APPLE, ORANGE, GRAPES, COCONUT, WATERMELON, PAPAYA).
39. WACP to arrange the following names in the alphabetic order. The sorting is to be done on the first
three character of the first name ( Ashok, Alok, Akash, Amit, Amol, Anil, Ashish, Anand).
40. WACP to enter some text and display the text in reverse order (Ex. I am happy will be displayed as
Happy am i).
41. WACP to print the entered word with all possible combinations.
42. WACP to enter five full names of persons and display their name initials & last name.
43. WACP to enter text through keyboard convert first character of each word in capital and display the
text.
44. WACP to enter some text through keyboard insert dot (.) after every three words in the text. The first
character after every dot (.) should be converted to capital.
45. WACP to enter some text through keyboard and count & print the number of words that started from
w alphabet.
46. WACP to encrypt the text INDIA. The output should be KPFKC.
47. WACP to decrypt a text KPFKC to get original string INDIA.
48. WACP that remove extra space from string and separate each word by one space.

Structure and Pointers


49. WACP to implement structure.
50. WACP to nested structure.
51. WACP to nested structure in array.
52. WACP to passing structure variable to function.
53. WACP to passing entire structure variable to function.
54. WACP to searching in structure array.
55. WACP to uses of pointer to structure variable.
56. WACP to maintain record of a cricket match.

File Handling
57. WACP to for input data into a file and retrieve it.
58. WACP to for input data into file.
59. WACP to for copy contents of a file into another file.
60. WACP for input n integer value into file and file split into two file even and odd that have even and
odd value.
61. WACP to count number of word and lines in a file.
62. WACP that perform binary search using recursion.

Potrebbero piacerti anche