C Program to check whether two strings are anagrams of each other.

C Strings: Write a c program to check whether two strings are anagrams of each other. Two strings are said to be anagrams, if the characters in the strings are same in terms of numbers and value ,only arrangement or order of characters are may be different. Example: “dfghjkl” and “lkjghdf” are anagrams of each …

C Program to delete vowels in a string.

C Strings:Write a C Program to delete a vowel in a given string.In this program, We use the pointers to position the characters.check_vowel() function checks the character is vowel or not, if the character is vowel it returns true else false.Example output:Given string: Check vowelOutput is: Chck vwlRead more about C Programming Language . and …

C Program to demonstrate strspn function.

Write a C Program to demonstrate strspn function.The strspn() function returns the index of the first character in string1 that doesn’t match any character in string2. If all the characters of the string2 matched with the string1, strspn returns the length of the string1. Read more about C Programming Language . /************************************************************ You can use …

C program to replace the sub string with another string.

C Strings:Write a C program to replace the sub string in a string with another string.In this program, We replace string with another string, if the entered string is the sub string of main string, otherwise function replace_str returns the original string as it is. Read more about C Programming Language . /************************************************************ You can …

C Program to find all the permutations of a given string.

Write a c program to find all the permutations of a given string.Example: If the given string is sam, output is,samsmamsamasasmams.Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning purposes. For permissions to use the* programs for commercial purposes,* contact [email protected]* To find more …

C Program to find the position of a sub string.

C Strings:C Program to find the position of a sub string in a given string.In this program, We find the position of a sub string where it starts  in the main string. Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* for personal and learning purposes. For permissions …

C Program to copy and concatenate strings without using standard functions.

C Program to copy and concatenate strings without using standard functions.In this program , we copy one string from another, and without using the standard library function strcpy from string.h .Here we appends the one string to another without using the strcat function. Read more about C Programming Language . /************************************************************ You can use all …

C Program to demonstrate isalpha, isdigit, is space.

C Program to demonstrate the following functions:isalpha, isdigit, isspace.The same principles apply to isalnum, iscntrl, isgraph,islower, isprint, ispunct, isupper, isxdigit.In the standard library ctype.h all the above functions are declared.All the subroutines mentioned here, returns non zero(true), If the checked argument is true for the respective subroutines. Read more about C Programming Language . /************************************************************ …

K & R C Programs Exercise 7-9.

K and R C, Solution to Exercise 7-9:K and R C Programs Exercises provides the solution to all the exercises in the C Programming Language (2nd Edition). You can learn and solve K&R C Programs Exercise.Write a C Functions like isupper() can be implemented to save space or to save time. Explore both possibilities. Read …

K & R C Programs Exercise 7-8.

K and R C, Solution to Exercise 7-8:K and R C Programs Exercises provides the solution to all the exercises in the C Programming Language (2nd Edition). You can learn and solve K&R C Programs Exercise.C Program to print a set of files, starting each new one on a new page, with a title and …