Question: how do i compare an array containing words with another array that contains a sentence in c program for example first = [boy dog cat]
how do i compare an array containing words with another array that contains a sentence in c program
for example first = ["boy" "dog" "cat"]
second = ["the boy is fat", "i have a dog ","my cat is black"]
how do i compare first with second to see if "boy " is presnet in "the boy is fat"
output = "boy" "the boy is fat", "dog" "i have a dog"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
