using 'c' write a program to remove all occurrence of word "the" and "The" from an input string
Answers
Answered by
0
Answer:
The program output is also shown below. * C Program to Remove given Word from a String. #include <stdlib.h> #include <string.h> char str[100], word[100], twoD[10][30]; int i = 0, j = 0, k = 0, len1 = 0, len2 = 0; printf ("Enter the string:\n"); gets (str); printf ("Enter the word to be removed:\n");
Similar questions