Question: The Image I have provided is the given structure that makes a strings _ array parameter. I need help with manipulating the data made from
The Image I have provided is the given structure that makes a stringsarray parameter. I need help with manipulating the data made from this datatype: stringsarray dataThe example with testing data. Below that is the structure I am coding and working with.
Complete and test the stringswithsubstring function according to its description in the functions.h file. You may loop through strings with either array syntax or pointer arithmetic. Example: if strings consists of
First line
Second line
Third line
and substr is Second, then the function prints:
Second line
Traverses every string in strings and prints the strings that contain substr. Case must match.
@param data the stringsarray struct to traverse
@param substr the substring to look for in each string
void stringswithsubstringstringsarray data char substr;
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
