Sie sind auf Seite 1von 2

Arrays

1. Write a program in C to read n number of values in an array and display it in reverse order.
2. Write a program in C to find the sum of all elements of the array.
3. Write a program in C to copy the elements of one array into another array.
4. Write a program in C to count a total number of duplicate elements in an array. 
5. Write a program in C to count the frequency of each element of an array.
6. Write a program in C to find the maximum and minimum element in an array.
7. Write a program in C to separate odd and even integers in separate arrays.
8. Write a program in C for addition of two Matrices of same size.

Strings
1. Write a program in C to find the length of a string without using library function.
2. Write a program in C to separate the individual characters from a string.
3. Write a program in C to print individual characters of string in reverse order.
4. Write a program in C to count the total number of words in a string. 
5. Write a program in C to compare two string without using string library functions. 
6. Write a program in C to count total number of alphabets, digits and special characters in a string. 
7. Write a program in C to copy one string to another string.
8. Write a program in C to count total number of vowel or consonant in a string.
9. Write a program in C to read a sentence and replace lowercase characters by uppercase and vice-versa.
10. Write a program in C to Find the Frequency of given Characters.
11. Write a program in C to Concatenate Two Strings Manually.
12. Write a program in C to check whether a letter is uppercase or not.
13. Write a program in C to replace the spaces of a string with a specific character. 
14. Write a program in C to count the number of punctuation characters exists in a string. 
15. Write a program in C to check whether a character is digit or not. 

Pointers
1. Write a program in C to show the basic declaration of pointer. 
2. Write a program in C to demonstrate how to handle the pointers in the program.
3. Write a program in C to demonstrate the use of &(address of) and *(value at address) operator. 
4. Write a program in C to store n elements in an array and print the elements using pointer.
5. Write a program in C to find the largest element using Dynamic Memory Allocation. 

Functions
1. Write a program in C to swap two numbers using function
2. Write a program in C to check a given number is even or odd using the function.
3. Write a C program to find sum of digits of a given number using recursion.
4. Write a program in C to get the largest element of an array using the function.
File
1. Write a program in C to create and store information in a text file.
2. Write a program in C to read an existing file.
3. Write a program in C to read the file and store the lines into an array.
4. Write a program in C to count a number of words and characters in a file.
5. Write a program in C to replace a specific line with another text in a file.
6. Write a program in C to merge two files and write it in a new file.

Das könnte Ihnen auch gefallen