char name[][10] is a auto variable on stack, so no pointers here
Best Regards Ashish Goel "Think positive and find fuel in failure" +919985813081 +919966006652 On Wed, Jul 7, 2010 at 9:10 AM, UMESH KUMAR <[email protected]>wrote: > > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- 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.
