Dear prasad after pre-compiling the expression is like const char* p = &a, so now u can understand y its const pointer....
On Sun, Oct 10, 2010 at 1:07 AM, Soumya Prasad Ukil <[email protected]>wrote: > > #include<stdio.h> > main() > { > char a ='c'; > typedef char* charp; > const charp p=&a; > p++; > } > > Why p is a constant pointer ? > > -- > regards, > soumya prasad ukil > > -- > 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. > -- Thanks & Regards Umesh kewat -- 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.
