K
karthika.28
Hi,
I am writing a function that needs to return an array of strings and I
am having some trouble getting it right. Can you help me answer the
following questions?
1. How does the function return the array?
2. How should the function be declared?
3. How is the return value captured by the calling program?
Here is what I consider an array of 100 strings:
char *array_string[100]
Thanks,
-Karthika
I am writing a function that needs to return an array of strings and I
am having some trouble getting it right. Can you help me answer the
following questions?
1. How does the function return the array?
2. How should the function be declared?
3. How is the return value captured by the calling program?
Here is what I consider an array of 100 strings:
char *array_string[100]
Thanks,
-Karthika