Question: C-Programming Read from console input two strings and check if the second string (length < 20) is a substring of the first one (length <

C-Programming

Read from console input two strings and check if the second string (length < 20) is a substring of the first one (length < 100). You cannot assume the length of the input strings. The first input string may contain spaces. Note, You cannot call functions in string.h

Example if you;

Input: abcd efghijk12 34567 hij

Ouput: YES

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!