divide array in c

Hello 1
i want to divide two number array that are store in a sting format in c language ? please write the code.
eg:
char str1[]={'3','5','0'};
char str2[]={'1','7','5'};

result of divition of this two array will be display as : 2.
thanks in advance.
Last edited on
How about you making an attempt to write the code and we'll help out if you still have questions
http://cplusplus.com/reference/clibrary/cstdlib/atoi.html
atoi converts from a cstring to an it. Note that it expects a terminating 0.
Topic archived. No new replies allowed.