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