How to work with array of string?
Posted on 2008-10-24
In a function I have:
void func (void *s, size_t i, void *p)
printf("in cb1: %s\n", s); //this printst a complete string
however, I want to store all of them in an array so I need to have an array of strings. How can I do this? any help is appreciated.