p points the base address.The value at p is first passed to the strem and
then incremented,

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.
>



-- 
Saurabh Singh
B.Tech (Computer Science)
MNNIT ALLAHABAD

-- 
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