optimization of what ?
can you explain your answer ?

On Wed, Jan 2, 2013 at 10:31 AM, rahul <rahulr...@gmail.com> wrote:

> Optimization.
>
> On Wed, Jan 2, 2013 at 1:35 AM, shady <sinv...@gmail.com> wrote:
>
>> Why do we use pointers at all considering space as a factor.... other
>> than allocating memory dynamically does it have any other use ?
>>
>> to store an integer
>> (int *) = 8 bytes, and while making it point to an integer location would
>> cost another 4 bytes, total = 12 bytes ... compared to directly taking
>> (int) = 4 bytes
>>
>> --
>>
>>
>>
>
>  --
>
>
>

-- 


Reply via email to