I am have trouble in Array of pointers to structure.
I have defined as structure.
char * name;
I have defined an array of pointers to this structure.( is this correct ?)
mystr (* myptr);
To fill the values, i have to pass this to a function, fill it and return it back.
Now I have to
1) pass this array of pointers to structure as an arugument to a function ( i dont know how?)
2) get it filled up ( i guess i can do)
3) return the array of pointers to structure to the calling function ( i dont know this either.)
I am getting rather confused to make a function definition for this.
Hope somebody could through some light abt this.