Strings and Pointers
Strings and Pointers
Strings and Pointers
1. Write a program in C to find the length of a string without using the library function.
2. Write a program in C to count the total number of words in a string.
3. Write a C program to find length of a string.
4. Write a C program to copy one string to another string.
5. Write a C program to concatenate two strings.
6. Write a C program to compare two strings.
7. Write a program in C to count total number of alphabets, digits and special characters in
a string.
8. Write a program in C to find maximum occurring character in a string.
9. Write a C program to find first occurrence of a character in a given string.
10. Write a C program to remove all repeated characters from a given string.
11. Write a C program to replace first occurrence of a character with another in a string.
12. Write a program in C to extract a substring from a given string.
Test Data :
Expected Output :
Pointers