u can access arr[0],arr[1],arr[2] in following way ...
#include <stdio.h>
int main()
{
char name[3][10] = {"jan","feb","march"};
char (*p)[10] = name;
int i;
for(i=0;i<=3;i++){
printf("%s\n",p);
p = p+1;
}
return 0;
}
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.