C Programming Code Examples C > Strings Code Examples Find the Sum of ASCII values of All Characters in a given String program to find total number of alphabets, digits or special characters in a string C Program to Implement strpbrk() Function Program to Implement the KMP Pattern Searching Algorithm Program to Input 2 Binary Strings and Print their Binary Sum Input a String with atleast one Number, Print the Square of all the Numbers in a String C Program to Insert Character/Word in any Desired Location in a String C Program to List All Lines containing a given String Print Combination of two Words of two given Strings without any Repetition Print Smallest and Biggest possible Word which is Palindrome in a given String C Program to Print the Words Ending with Letter S Program to Read a String and find the Sum of all Digits in the String C Program to read two Strings & Concatenate the Strings Program to Remove all Characters in a String Except Alphabet Remove all Characters in Second String which are present in First String program to remove all occurrences of a character from string C program to remove all occurrences of a word in string program to remove all repeated characters in a string C program to remove first occurrence of a character from string C program to remove first occurrence of a word from string C Program to Remove given Word from a String program to remove last occurrence of a character from the string C program to remove last occurrence of a word in string program to remove spaces, blanks from a string replace all occurrences of a character in a string C Program to Replace all the Characters by Lowercase program to replace first occurrence of a character in a string C program to replace last occurrence of a character in a string Program to Replace Lowercase Characters by Uppercase & Vice-Versa C Program to Reverse every Word of given String Reverse Letter in Each Word of the Entered String program to reverse order of words in a string C Program to Reverse String Without Using Library Function Program to Reverse the String using Both Recursion and Iteration Program to Reverse the String using Recursion C Program to Search a Word & Replace it with the Specified Word program to search all occurrences of a character in a string search all occurrences of a word in given string Program to Search occurrence of Character in String C Program to Sort set of strings in alphabetical order using strcmp() Program to Sort set of strings in alphabetical order Sort String Ignoring Whitespaces and Repeating Characters Only Once C Program to Sort the list of Strings Page 1 Page 2 Page 3 Page 4 Page 5