Question: how do i complete a function like this? Write a function named find digits that finds the digits (oto 9 )in the string parameter str
Write a function named find digits that finds the digits (oto 9 )in the string parameter str and store them in str2. For example, if stri contains "Mary has 10 strawberries. Dan has 15 strawberries, then str2 will be 1015. Character Rbrary functions such as indigt 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. vold find digits(char strchar "str2) Wadd your code Edit View Insert Format Tools Table 12pt Paragraph B IU A T PD BI 19 VE >
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
