praveen kumar wrote:
> 1) how much maximum can we allocate in a single call to malloc()

Usually whatever the OS/platform limit is for a single application. 
Some OSes only reserve the memory until it is actually used and then 
allocate at that time.


>   2) when reallocating memory if any other pointers point into the same
>  piece of memory do we have to readjust these other pointers or do they
>  get adjusted automatically

You would have to adjust those pointers as the reallocated memory 
probably won't be the same.


-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.0
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to