@kewat,
              If it is const char*, then  compilation won't give error. But
it is something like char *const. But how?

On 10 October 2010 08:31, umesh kewat <[email protected]> wrote:

> 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]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
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].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to