0

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

3
Contributors
4
Replies
5
Views
11 Years
Discussion Span
Last Post by SpS
0

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

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.