Which function accepts a string as its argument and returns

Which function accepts a string as its argument and returns True if the string contains only numeric digits?

Solution

Answer:

The function:

int atoi(const char *str) ;

atoi is a function that converts a string into into integer numeric representation . As you can see it takes string of characters and will return true for numeric values

Which function accepts a string as its argument and returns True if the string contains only numeric digits?SolutionAnswer: The function: int atoi(const char *s

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site