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
<ukil.sou...@gmail.com>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 algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
> .
> 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 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.

Reply via email to