though you have put bracket over pointer but it will still be defrenced
first and then the pointer will increemnet to point o next location . its
post increement dats y.

On Sat, Jul 2, 2011 at 10:17 PM, Deoki Nandan <deok...@gmail.com> wrote:

> #include<iostream>
>
> using namespace std;
>
> int main()
> {
>     int intArray[]={1,2,3};
>     int *p=intArray;
>     cout<<*(p++);
>     return 0;
> }
>
> output :
>
> 1
>
>
> --
> **With Regards
> Deoki Nandan Vishwakarma
>
> *
> *
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@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