1) Write a C program to read a string and find out a word is present in that string and also print starting index of the
word using strstr().
Input:
Str1="Was this the face that launch'd a thousand ships",
Str2 ="face"
Output:
String 'face' was found at position 14 in string 'Was this the face that launch'd a thousand ships
Need the code to run
Answers
Answered by
6
I don't know what is the answer see it in Qanda app
Similar questions