char name[][10]={"jan","feb","march"}; Name is a 2-D Array of character so if you wish to store in a Pointer variable then must take a Character of Pointer of 10 characters of type char. char (*p)[10]=name;
Umesh Kumar MCA D.U. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.