Question: write program in C++: Write a definition for a function that takes one argument, an array of char that contains a C string that will
write program in C++:
Write a definition for a function that takes one argument, an array of char that contains a C string that will not be altered by the function. The function should return an integer representing the number of numeric digits contained in the C string. The C library function isdigit() can be used to determine whether or not a character is a numeric digit.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
