250+ C programs for practice 2021 page no: 8

● Count occurrences of a character in a given string.
● Find highest frequency character in a string.
● Find lowest frequency character in a string.
● Count frequency of each character in a string.
● Remove the first occurrence of a character from a string.
● Remove the last occurrence of a character from a string.
● Delete all occurrences of a character from a string.
● Remove all repeated characters from a given string.
● Replace the first occurrence of a character with another in a string.
● Replace the last occurrence of a character with another in a string.
● Put all occurrences of a character with another in a string.
● Find the first occurrence of a word in a given string.
● Find the last occurrence of a word in a given string.
● Search all occurrences of a word in a given string.
● Count occurrences of a word in a given string.
● Remove the first occurrence of a word from string.
● Remove the last occurrence of a word in a given string.
● Delete all occurrence of a word in a given string.
● A Trim leading white space characters from a given string.
● Trim trailing white space characters from a given string.
● Trim both leading and trailing white space characters from a given string.
● Remove all extra blank spaces from the given string.
9. Function Questions
● Cube of any number using the function.

Post a Comment

0 Comments