#include #include #include int main(int argc, char **argv) { void dump_strings( char **byte_strings ); char *data[] = {"some stuff", "more stuff", "and third stuff", NULL }; dump_strings(data); dump_strings(argv); exit(0); } void dump_strings ( char **byte_strings ) { for ( ; *byte_strings; byte_strings++) { printf ("%s\n",*byte_strings); /* a per char loop would go here */ } } /* prints: some stuff more stuff and third stuff */