tseyeh
asked on
how to decleare the array of string using c?
I want to ask how to declare the array of string?
is it looks like this way?
char * temp[10][10];
aftter decleration, how can i initialize the array? for example using mon,tues,wed...
is it looks like this way?
char * temp[10][10];
aftter decleration, how can i initialize the array? for example using mon,tues,wed...
char *temp[]={"mon","tues","wed "};
ASKER
thanks for u answer, but
how can i access it? it it looks like
char * mon;
mon=temp[0];//which mon="mon";
how can i access it? it it looks like
char * mon;
mon=temp[0];//which mon="mon";
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.