I am trying to create an array of strings in C. If I use this code:
char (*a[2])[14]; a[0]=\"blah\"; a[1]=\"hmm\";
gcc gives me \"warning:
Your code is creating an array of function pointers. Try
char* a[size];
or
char a[size1][size2];
instead.
See wikibooks to arrays and pointers