Question: ( 3 0 p ) Write a function int foo ( char * Large , char * small ) that counts the number of times
p Write a function int foo char Large char small that counts the number of
times the string small a string of length appears in another string large a string of length
in reversed form. Do not use array notation, use pointers. Efficiency is importanti
You can use the following functions:
int rev char dest char src reverses src into dest.
int cmp char s char s returns if the first characters of an s are same.
int foo char Large char small write in C
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
