View Single Post
Ambitious contributor
26Nov2007,17:23  
Salem's Avatar
Because a should be an array of pointers, not an array of arrays.
Code:
char *a[] = { "sample.sh", "one", "two", "three", NULL };