// mp2.c -- C solution to mp2 by Douglas Jones #include // the following test data was given with the assignment char * mp2data[] = { "Hello", " worl", "d!\n", NULL }; // no comments are given here to force the reader to study the code itself int main() { char ** a = mp2data; for (;;) { char * s = *a; if (s == NULL) break; fputs( s, stdout ); a++; } }