[solved] – Question 75608
Write a C program that prompts the user to input two strings. The program must output the total
number of times the second string appears in the first string without using any string library
function except strlen(), gets(), puts(). Length of the second string must be greater
than 1. In the main function, input two strings and pass them to a function named
countSubstrings. The function should return how many times the second string occurs inside
the first string. Finally, print the result in the main function.
Expert Answer
OR

