Correct way to initialize a NULL-terminated array of strings in C - by jjardon Is this code correct? char *argv[] = { "foo", "bar", NULL }; Read the article