hello every one, I am allocating memory using malloc library function, In oredr to deallocate memory we have to use free or realloc library functions.But I want to deallocate memory with out using free and realloc library functions,
any body has the logic for that code please help me, it is urgent

thank you
chaitanya

This depends on the implementation of malloc.

This depends on the implementation of malloc.

OK sir, but can you give me for both malloc and free library functions definition i,e I want to allocate memory dynamically with out using malloc and deallocate memory with out using free library functions, I am waiting for your reply,
Thank you
chaitanya

OK sir, but can you give me for both malloc and free library functions definition i,e I want to allocate memory dynamically with out using malloc and deallocate memory with out using free library functions, I am waiting for your reply,

Read chapter 8 of K&R, The C programming Language, 2nd Edition.