Question: Implement the Function any ( s 1 , s 2 ) Requirements: Write a function int any ( const char * s 1 , const
Implement the Function anys s
Requirements:
Write a function int anyconst char s const char s that searches the string s for the
first occurrence of any character present in the string s
The function should return the zerobased index of the first character in s that matches any
character in s
If no characters from s are found in s the function should return
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
