yes thanx a lot . becoz there is no sequence point and there is post
increment operator is used .


On Sat, Jul 2, 2011 at 10:22 PM, aditya kumar
<[email protected]>wrote:

> 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 <[email protected]> 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 [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.
>>
>
>  --
> 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.
>



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