5 static const char S1[] = {
6 'h', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd', '\0', 'A'
9 static const char S2[] = {
10 'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '\0', 'B'
19 for (I = 0; I < 20; ++I) {
20 printf ("%02d: %d\n", I, strncmp (S1, S2, I));