woh, thought provoking, it giving 2 2 when there is not const
i think it has something to do with how 'const' modifies the behaviour of
storage

On Sun, Aug 21, 2011 at 8:33 PM, Kamakshii Aggarwal
<[email protected]>wrote:

> But on dev c it is showing o/p as 2 2 ..
> I too have a doubt,a similar question was asked in atrenta's written paper.
>
>
> On Sun, Aug 21, 2011 at 8:14 PM, Ankur Khurana 
> <[email protected]>wrote:
>
>> can somebody please explain this ?
>>
>>
>> On Sun, Aug 21, 2011 at 8:08 PM, Nikhil Gupta 
>> <[email protected]>wrote:
>>
>>> http://www.ideone.com/kRaMj
>>>
>>> I found this in the algogeeks forum only. Can anyone explain how value of
>>> i is still 0, but *p shows 2 although their addresses are the same.
>>>
>>> --
>>> Nikhil Gupta
>>>
>>> --
>>> 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.
>>>
>>
>>
>>
>> --
>> Ankur Khurana
>> Computer Science
>> Netaji Subhas Institute Of Technology
>> Delhi.
>>
>>  --
>> 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.
>>
>
>
>
> --
> Regards,
> Kamakshi
> [email protected]
>
> --
> 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.

Reply via email to