Question: just the function please, not the whole code Question 12 Write a function named find_digits that finds the digits (o to '9) in the string

just the function please, not the whole code just the function please, not the whole code Question 12 Write a

Question 12 Write a function named find_digits that finds the digits (o to '9") in the string parameter str 1 and store them in str 2. For example, it stri contains "Mary has 10 strawberries. Dan has 15 strawberries", then str 2 will be "1015" Character library functions such as isdigit() are not allowed. Use pointers and pointer arithmetic to process strings. In other words, eliminate the loop index variables and all use of the operator in the functions. void find_digits(char *str1, char *str2){ lladd your code }

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!