Question: Write a C program that implements the standard function char * strstr(char *str1, char *str2) that returns the pointer of the first instance of string

Write a C program that implements the standard function char * strstr(char *str1, char *str2) that returns the pointer of the first instance of string str2 in string str1. Return a NULL pointer if string str2 is not found in string str1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
